我最近编辑了Apache httpd.conf文件,以使mod_rewrite正常工作。我不知道此问题是否源于此,但从那天起我就遇到了这个问题。
这是我在运行软件时在前端看到的内容-
服务器错误网站在检索http:// localhost / prestashop /时遇到错误 。可能由于维护原因而关闭或配置不正确。
没有特定文件触发此操作。但是我看到通常由4-5个php文件组成的小程序运行良好,但是包含很多文件的软件(如PrestaShop)却不能。
我检查了日志,这就是我所发现的。
[Wed Mar 16 19:33:39 2011] [error] [client ::1] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Wed Mar 16 19:33:39 2011] [error] [client ::1] PHP Fatal error: Unknown: Failed opening required '/var/www/html/yomig/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
[Wed Mar 16 19:33:39 2011] [error] [client ::1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 16 19:33:41 2011] [error] [client ::1] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Wed Mar 16 19:33:41 2011] [error] [client ::1] PHP Fatal error: Unknown: Failed opening required '/var/www/html/yomig/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0