nginx识别php,Nginx识别PHP文件
Nginx的配置文件server块里面有对PHP文件的识别和转发。location ~ [^/]\.php(/|$){# comment try_files $uri =404; to enable pathinfotry_files $uri =404;#fastcgi_pass unix:/tmp/php-cgi.sock;fastcgi_pass 127.0.0.1:9000;fastcg...