From:
Operating system: Linux Debian
PHP version: 5.3.3
Package: FPM related
Bug Type: Bug
Bug description:[FPM] Status page does not work under Apache 2.2
Description:
------------
Apache 2 ends up with an error while trying to get content of /status url.
Ping url works fine.
Same problem with /status?json and /status?html.
Apache version: 2.2.16, mpm-worker
mod_fastcgi version: 2.4.6
Test script:
---------------
<IfModule mod_fastcgi.c>
FastCGIExternalServer /php5-fpm-handler -socket "/var/run/php5-fpm.sock"
AddHandler php5-fcgi .php
<LocationMatch "/(ping|status)">
SetHandler php5-fcgi-virt
Action php5-fcgi-virt /php5-fpm-handler.fcgi virtual
</LocationMatch>
Action php5-fcgi /php5-fpm-handler.fcgi
ScriptAlias /php5-fpm-handler.fcgi /php5-fpm-handler
</IfModule>
Expected result:
----------------
FPM status page
Actual result:
--------------
500 Internal error
Logged in Apache's error log:
[Mon Aug 23 04:16:55 2010] [error] [client 127.0.0.1] FastCGI: comm with
server "/php5-fpm-handler" aborted: error parsing headers: malformed header
'text/plain'
--
Edit bug report at http://bugs.php.net/bug.php?id=52674&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52674&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52674&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=52674&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52674&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=52674&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52674&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=52674&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=52674&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=52674&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=52674&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=52674&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=52674&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=52674&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52674&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52674&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52674&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=52674&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=52674&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=52674&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=52674&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=52674&r=mysqlcfg