1. 找到php.ini配置文件,修改如下内容
默认:cgi.fix_pathinfo=0
修改:cgi.fix_pathinfo=1
2. linux cd /项目根目录,执行下面代码
chmod -R 777 bootstrap/cache
chmod -R 777 storage
3. 重启PHP,nginx
service php-fpm restart
service nginx restart
1. 找到php.ini配置文件,修改如下内容
默认:cgi.fix_pathinfo=0
修改:cgi.fix_pathinfo=1
2. linux cd /项目根目录,执行下面代码
chmod -R 777 bootstrap/cache
chmod -R 777 storage
3. 重启PHP,nginx
service php-fpm restart
service nginx restart