From: jdr at alexanderinteractive dot com Operating system: CentOs 6 PHP version: 5.4.3 Package: FPM related Bug Type: Bug Bug description:FPM not working with Apache httpd 2.4 balancer/fcgi setup
Description: ------------ See bug https://bugs.php.net/bug.php?id=54152 for a description of almost the exact same problem. PHP now does recognize the proxy:fcgi Apache httpd 2.4 adds to the SCRIPT_FILENAME but it does not recognize proxy:balancer Test script: --------------- Example of working apache 2.4 config RewriteRule ^/?(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/usr/local/home/magento/app/current/$1 [P,L] Example of non-working apache 2.4 config <Proxy balancer://magento/> BalancerMember fcgi://localhost:9000/ </Proxy> # Serve PHP through php-fpm: RewriteRule ^/?(.*\.php(/.*)?)$ balancer://magento/usr/local/home/magento/app/current/$1 [P,L] Expected result: ---------------- I expect the same results from both apache configurations Actual result: -------------- I get a 404 on all php pages when using balancer -- Edit bug report at https://bugs.php.net/bug.php?id=62172&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62172&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62172&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62172&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62172&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62172&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62172&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62172&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62172&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62172&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62172&r=support Expected behavior: https://bugs.php.net/fix.php?id=62172&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62172&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62172&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62172&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62172&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62172&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62172&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62172&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62172&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62172&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62172&r=mysqlcfg