symfony php configuration

shaktale nginx-forum at nginx.us
Mon May 18 12:52:01 MSD 2009


>location ~ ^(.+\.php)(.*)$ {
>fastcgi_split_path_info ^(.+\.php)(.*)$;
>fastcgi_param SCRIPT_FILENAME /path/to/php$fastcgi_script_name;
>fastcgi_param PATH_INFO $fastcgi_path_info;

Works like a charm, but I need to include:


fastcgi_param  SCRIPT_NAME      $fastcgi_script_name;



Thank you Igor.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,1549,2142#msg-2142






More information about the nginx mailing list