• 各位大神,最近我的wordpress blog站点页面最上面莫名其妙出现了两行这样的警告提示:

    Warning: file_get_contents(): open_basedir restriction in effect. File(/etc/httpd/sites-enabled-user/httpd-vhost.conf-user) is not within the allowed path(s): (/var/services/web:/tmp:/var/services/tmp) in /volume1/web/wordpress/wp-config.php on line 96

    Warning: file_get_contents(/etc/httpd/sites-enabled-user/httpd-vhost.conf-user): failed to open stream: Operation not permitted in /volume1/web/wordpress/wp-config.php on line 96

    我查看了wp-config.php的96行,内容是:$virtual_host_file = file_get_contents(“/etc/httpd/sites-enabled-user/httpd-vhost.conf-user”);

    但是在我站点下的wordpress\etc目录中却没有这个httpd目录,也找不到httpd-vhost.conf-user文件。请问到底是什么问题呢?如何解决?谢谢!

查看 1 回复 - 1 至 1 (总计 1)
查看 1 回复 - 1 至 1 (总计 1)
  • 话题 ‘httpd-vhost.conf-user不明问题求助’不再接受新回复。