работа c lamp хостами (локальных хостов) ubuntu 12.04
Добавлено: 03 сен 2012, 16:46
Код: Выделить всё
"Forbidden You don't have permission to access / on this server"
Код: Выделить всё
$ sudo chmod 777 -R
В общем операция прошла успешна ошибка
Код: Выделить всё
"Forbidden You don't have permission to access / on this server"
ушла!
Но появилась новая ошибка более интересная:
Код: Выделить всё
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."
Код: Выделить всё
[Mon Sep 03 16:49:48 2012] [error] [client 127.0.0.1] PHP Warning: include_once(/home/kiber/web/internet/www/modules/main/classes/function.php): failed to open stream: Permission denied in /home/kiber/web/internet/www/index.php on line 6
[Mon Sep 03 16:49:48 2012] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening '/home/kiber/web/internet/www/modules/main/classes/function.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/kiber/web/internet/www/index.php on line 6
[Mon Sep 03 16:49:48 2012] [error] [client 127.0.0.1] PHP Warning: set_error_handler() expects the argument (myError) to be a valid callback in /home/kiber/web/internet/www/index.php on line 7
[Mon Sep 03 16:49:48 2012] [error] [client 127.0.0.1] PHP Warning: include_once(/home/kiber/web/internet/www/modules/main/classes/db_client.class.php): failed to open stream: Permission denied in /home/kiber/web/internet/www/index.php on line 8
[Mon Sep 03 16:49:48 2012] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening '/home/kiber/web/internet/www/modules/main/classes/db_client.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/kiber/web/internet/www/index.php on line 8
[Mon Sep 03 16:49:48 2012] [error] [client 127.0.0.1] PHP Fatal error: Class 'db_client' not found in /home/kiber/web/internet/www/index.php on line 9
Жду решение переход на винду не предлагать
Заранее благодарен!