cgi.fix_pathinfo not working on php 5.3.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHP-FPM |
New
|
Undecided
|
Unassigned | ||
Bug Description
Recently I decide to upgrade my php on server from 5.2.11 to 5.3.1
on my experience on integrating php-fpm 0.6 and found no problem with
php 5.2 then i compile the php 5.3
everything when smooth and fine... the configure, compile and install
of both php 5.3 and php-fm 0.6
start the php-fpm with no problem...
but when the script encounter pathinfo (pretty url) it throws error...
"No input file specified."
this doesn't happen on php 5.2 php-fpm.
I try to figure out over and over again until i found that
cgi.fix_pathinfo not working on php-fpm on php 5.3
How i manage to know is that when I look into phpinfo() the
cgi.fix_pathinfo shows on php 5.2 but it doesn't show on php 5.3
but if i run php-cgi 5.3 without php-fpm manually it shows and
pathinfo working just fine.
running version:
php: 2.5.11
php-fpm: 0.6-5.2.11
problem version:
php: 5.3.1
php-fpm: 0.6-5.3.1
According to dreamcat, I believe this is an open issue that he was worried about and it is a -true- and known issue.
As far as fixing it, not sure what can be done there. The current PHP-FPM code is basically a copy of cgi_main.c from a point in time a few months ago and it has apparently changed since then.