maicong / LNMP

Support: Nginx 1.12/1.13 + MySQL 5.5/5.6/5.7/8.0(MariaDB 5.5/10.0/10.1/10.2/10.3) + PHP 5.4/5.5/5.6/7.0/7.1/7.2 + phpMyAdmin(Adminer)
MIT License
256 stars 92 forks source link

请问从哪个文件内可以找到 php配置 open_basedir #15

Closed CrazyCodes closed 7 years ago

CrazyCodes commented 7 years ago

大神,看到请回复。。我用laravel搭建的程序报错

Warning: file_exists(): open_basedir restriction in effect. File(/home/wwwroot/weixin/bootstrap/cache/compiled.php) is not within the allowed path(s): (/home/wwwroot/weixin/public:/usr/share/pear:/usr/share/php:/etc/phpMyAdmin:/tmp:/proc) in /home/wwwroot/weixin/bootstrap/autoload.php on line 32 int(11)

maicong commented 7 years ago

/etc/nginx/fastcgi_params#L25

CrazyCodes commented 7 years ago

多谢了