我收到错误
Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/tmp/) in /www/elitno.net/s/p/anger2/home/site/classWebPage.php on line 83
我的 phpinfo 文件在这里 -> http://spaceranger2.elitno.net/phpinfo.php
发生错误的行在这里:
function openLink(){
$this->fp = fopen($this->URL, "rb");
array_shift($http_response_header);
$this->headers = $http_response_header;
}
我只能访问 .htaccess 但不能访问我的 php.ini 文件;我试过用这个
open_basedir = "VIRTUAL_DOCUMENT_ROOT:/tmp/:/www/elitno.net/s/p/ranger2/home/site/"
但这会产生500 internal error
,有什么建议吗?