I got the $_SERVER[PHP_SELF] returning itself twice (eg. /123.php/123.php instead of /123.php as it should be) with my Nginx and PHP-FPM server. (Nginx 0.7.61, PHP 5.3.0)
Seems that the issue lies with the fastcgi configuration that I used. Make sure that this is not set.
# fastcgi_param PATH_INFO $fastcgi_script_name; #do not use, causes php_self to screw up
5 comments:
Thank you
Thanks a lot :)
THANK YOU! Solved hours of frustration for me :)
Thanks a lot, works like a charm at nginx 1.0.11 too :-)
You're very welcome :)
Post a Comment