关于OneThink无法运行的问题

浏览:2346 发布日期:2014/05/20 分类:求助交流
官方出了Onethink以后,一直想尝试一下,但是OneThink又是基于thinkphp3.2的,那就意味着PHP版本要升级到5.3以上才行。
今天下定决心把php版本升到了5.3.17,但是运行OneThink的时候又报错Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/www/zuigy:/tmp) in Unknown on line 0 Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/www/zuigy:/tmp) in /home/www/zuigy/public_html/soccer/install.php on line 36 Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/www/zuigy:/tmp) in /home/www/zuigy/public_html/soccer/ThinkPHP/ThinkPHP.php on line 92 Fatal error: Call to undefined function Think\C() in /home/www/zuigy/public_html/soccer/ThinkPHP/Library/Think/Think.class.php on line 320 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/www/zuigy:/tmp) in /home/www/zuigy/public_html/soccer/ThinkPHP/Library/Think/Think.class.php on line 154看了下是open_basedir这个函数的问题,上网查了下都说是设定目录访问权限的。但是这个函数默认的关闭的,打开的话我就不知道怎么设置了,但是关闭就会报错。其实打开了也是报错的最高错误,只不过路径不对罢了。。所以想上来求助一下大家……看看是啥原因
最佳答案
评论( 相关
后面还有条评论,点击查看>>