Nginx + phpFPM: PATH_INFO always empty
问题 I configured nginx stable (1.4.4) + PHP (using FastCGI, php-fpm) on Debian. That works fine: location ~* ^/~(.+?)(/.*\.php)$ { fastcgi_split_path_info ^(.+?\.php)(/.*)$; alias /home/$1/public_html$2; fastcgi_pass unix:/var/run/php5-fpm.sock; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_index index.php; autoindex on; } I use the PATH_INFO variable, therefore I added the following line to fastcgi_params: fastcgi_param PATH_INFO $fastcgi_path_info; And in /etc