我最近编辑了 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