自己刚刚学习的codeigniter,用的是codeigniter3.0 。
在本地用的WampServer 2.2(MySQL 5.5.20。PHP 5.3.10, APACHE 2.2.21 ) 完全正常,
服务器用的是军哥的 http://lnmp.org/lnmpa.html (启用MySQL InnoDB,PHP 5.3.28 ,MariaDB 5.5.37)。
网站文件时sftp上传,目录已执行:
chown -R www:www /home/wwwroot/orz.p1ng.org
chmod -R 777 /home/wwwroot/orz.p1ng.org
现在是这个样子 http://orz.p1ng.org/
Message: mkdir(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot/orz.p1ng.org:/tmp/:/var/tmp/:/proc/)
。。。好多问题
我查看apache的http.conf文件应该也是没问题的
http.conf文件如下:
<VirtualHost *:88>
ServerAdmin [email protected]
php_admin_value open_basedir "/home/wwwroot/orz.p1ng.org:/tmp/:/var/tmp/:/proc/"
DocumentRoot "/home/wwwroot/orz.p1ng.org"
ServerName orz.p1ng.org
#ErrorLog "logs/-error_log"
#CustomLog "logs/-access_log" common
</VirtualHost>
自己百度了好多,不知道该怎么办了,求教。先在这里谢谢大家了
在本地用的WampServer 2.2(MySQL 5.5.20。PHP 5.3.10, APACHE 2.2.21 ) 完全正常,
服务器用的是军哥的 http://lnmp.org/lnmpa.html (启用MySQL InnoDB,PHP 5.3.28 ,MariaDB 5.5.37)。
网站文件时sftp上传,目录已执行:
chown -R www:www /home/wwwroot/orz.p1ng.org
chmod -R 777 /home/wwwroot/orz.p1ng.org
现在是这个样子 http://orz.p1ng.org/
Message: mkdir(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot/orz.p1ng.org:/tmp/:/var/tmp/:/proc/)
。。。好多问题
我查看apache的http.conf文件应该也是没问题的
http.conf文件如下:
<VirtualHost *:88>
ServerAdmin [email protected]
php_admin_value open_basedir "/home/wwwroot/orz.p1ng.org:/tmp/:/var/tmp/:/proc/"
DocumentRoot "/home/wwwroot/orz.p1ng.org"
ServerName orz.p1ng.org
#ErrorLog "logs/-error_log"
#CustomLog "logs/-access_log" common
</VirtualHost>
自己百度了好多,不知道该怎么办了,求教。先在这里谢谢大家了