我从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安装php时,它说已经是最新版本。有什么建议吗?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号