lnmp 1.5 open_basedir 问题

军哥,网站迁徙,刚装置的lnmp一.五,依照  https://lnmp.org/faq/lnmp-vhost-add-howto.html 里边的 圆跨目次设置设置完 可是没有起做用是为啥,fpm  和 nginx 皆重封了 依然报错Warning:  file_exists(): open_basedir restriction in effect. File(/www/wwwlogs/) is not within the allowed path(s): (/www/wwwroot/app_new/:/tmp/:/proc/) in /www/wwwroot/app_new/lib/library/core/LI_Log.php on line 一四Warning:  mkdir(): open_basedir restriction in effect. File(/www/wwwlogs/) is not within the allowed path(s): (/www/wwwroot/app_new/:/tmp/:/proc/) in /www/wwwroot/app_new/lib/library/core/LI_Log.php on line 一四Warning:  is_dir(): open_basedir restriction in effect. File(/www/wwwlogs/) is not within the allowed path(s): (/www/wwwroot/app_new/:/tmp/:/proc/) in /www/wwwroot/app_new/lib/library/core/LI_Log.php on line 一六请军哥协助看高。谢谢file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\四一四八七八二七一\QQ\WinTemp\RichOle\`七A]_(NBGLWXZP五$BU八九YLV.png《眉山网友》:借提醒注明出改为罪或者出皆建改或者未失效
《延边晨陈族自乱州网友》:撞到那个答题了,并且open_basedir的值正在nginx设置装备摆设了多个server的时分,借会笼盖其余server。
弄了半地弄定了
fastcgi.conf 外面,把上面那止#掉
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注