修改php.ini
cgi.fix_pathinfo=1
在Nginx配置中
fastcgi_param PATH_INFO $fastcgi_path_info;
之前添加
fastcgi_split_path_info ^(.+\.php)(/.*)$;
修改php.ini
cgi.fix_pathinfo=1
在Nginx配置中
fastcgi_param PATH_INFO $fastcgi_path_info;
之前添加
fastcgi_split_path_info ^(.+\.php)(/.*)$;
标签: Nginx