How to set nginx to support pathinfo
phpcn_u1582
phpcn_u1582 2017-05-16 17:08:45
0
1
874

It’s a very weak question that has not been solved. I searched countless information but couldn’t solve it.

nginx version:1.10.2

phpcn_u1582
phpcn_u1582

reply all (1)
phpcn_u1582
fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; #增加这一句 fastcgi_param PATH_INFO $fastcgi_path_info; #增加这一句 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!