在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即可。
在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即可。