From:             dave at yougeezer dot co dot uk
Operating system: Windows XP
PHP version:      5.4.4
Package:          FPM related
Bug Type:         Bug
Bug description:FPM doesn't handle Apache script_filename on Windows

Description:
------------
When running PHP using the FPM support, it doesn't appear to process the 
script_filename environmental variable passed by Apache (using
mod_proxy_fcgi).  
This is probably related to #54152

Running a tool that monitors file access the following path is checked:

C:\php54\proxy:fcgi:\127.0.0.1:9054\c:\Apache24\htdocs\

Don't fully understand how PHP handles this but tried setting 
APACHE_PROXY_FCGI_PREFIX to various different values by using:
SetEnv APACHE_PROXY_FCGI_PREFIX "proxy:fcgi:\\"
...in the Apache configuration file.  But it didn't appear to have any
effect.

Test script:
---------------
Apache conf:
ProxyPass / fcgi://127.0.0.1:9054/c:/Apache24/htdocs/php54

PHP startup:
c:\php54\php-cgi.exe -b 127.0.0.1:9054 -c c:\php54\php.ini

Expected result:
----------------
c:\Apache24\htdocs\

Actual result:
--------------
C:\php54\proxy:fcgi:\127.0.0.1:9054\c:\Apache24\htdocs\

-- 
Edit bug report at https://bugs.php.net/bug.php?id=62381&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=62381&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=62381&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=62381&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=62381&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=62381&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=62381&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=62381&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=62381&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=62381&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=62381&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=62381&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=62381&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=62381&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=62381&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=62381&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62381&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=62381&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=62381&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=62381&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=62381&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=62381&r=mysqlcfg

Reply via email to