在lnmp架构中,由于安装一些php加速插件导致网站迁移出的问题:
报错:Warning: require() open_basedir restriction in effect.File(/home/wwwroot/default/phpmyadmin/index.php) is not within the allowedpath(s):
解决方法:先注释掉php.ini中有关open_basedir的内容,重启php-fpm即可。
转载于:https://blog.51cto.com/shmily8023/1279761