我从Apache得到以下错误:
[Sat Mar 19 23:10:50 2011] [warn] mod_fcgid: stderr: PHP致命错误:require_once() [function.require]: 打开'/common/configs/config_templates.inc.php'失败(include_path='.:/usr/share/pear:/usr/share/php'),位于/home/viapics1/public_html/common/configs/config.inc.php的第158行
我并不是Apache的专家,但文件config.inc.php和config_templates.inc.php都在那里。我还尝试导航到我放置在common/configs/下的test.html页面,因此我认为这里没有权限问题。我还将config_templates.inc.php的权限设置为给予所有人读取、写入和执行权限。目前不确定该怎么做,我检查了是否有/usr/share/php目录,并发现没有,但当我运行yum install php时,它说已经安装了最新版本。有什么想法吗?
__FILE__
),现在试一下。如果失败,请发布它的错误消息。 - Your Common Sense