0

我在我的网站上上传管理页面时收到此错误。我以前从来没有得到它,最近没有任何改变让我开始得到这个错误......

A PHP Error was encountered

Severity: Warning

Message: disk_total_space(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/u577342213:/tmp:/var/tmp:/opt/php-5.6/pear:/usr/local/bin:/etc/pki/tls/certs)

Filename: admin/Dashboard_model.php

Line Number: 22
4

1 回答 1

0

要解决此错误,您必须编辑新上传服务器的 httpd.conf 文件,如下所示。

它在- /etc/httpd/
httpd.conf中找到。打开文件httpd.conf,找到参数open_basedir。并将其设置为无。

php_admin_value open_basedir 无

我希望它能解决你的问题。

于 2017-03-22T05:51:10.840 回答