cymle 发表于 2015-5-17 14:23:34

求助phpmyadin访问显示空白

不知道什么原因访问显示空白了,我测试了下,MYSQL跟php连接是正常的。
后来打开了PHP 的错误提示,如下:
[*]Warning: require_once(): open_basedir restriction in effect. File(/home/wwwroot/default/phpmyadmin/libraries/common.inc.php) is not within the allowed path(s): (/home/wwwroot/www.lnmp.org/:/tmp/) in /home/wwwroot/default/phpmyadmin/index.php on line 11 Warning: require_once(/home/wwwroot/default/phpmyadmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /home/wwwroot/default/phpmyadmin/index.php on line 11 Fatal error: require_once(): Failed opening required 'libraries/common.inc.php' (include_path='.:') in /home/wwwroot/default/phpmyadmin/index.php on line 11
[*]

licess 发表于 2015-5-17 19:55:26

你的open_basedir 设置的问题,你phpmyadmin就在/home/wwwroot/default/ 下,你非限制到/home/wwwroot/www.lnmp.org/能正常才怪
注释掉你自己设置的open_basedir参数
页: [1]
查看完整版本: 求助phpmyadin访问显示空白