Edit report at https://bugs.php.net/bug.php?id=62381&edit=1

 ID:                 62381
 Updated by:         paj...@php.net
 Reported by:        dave at yougeezer dot co dot uk
 Summary:            FPM doesn't handle Apache script_filename on Windows
 Status:             Open
 Type:               Bug
-Package:            FPM related
+Package:            CGI/CLI related
 Operating System:   Windows XP
 PHP Version:        5.4.4
 Block user comment: N
 Private report:     N

 New Comment:

There is no FPM on windows.


Previous Comments:
------------------------------------------------------------------------
[2012-06-21 09:55:14] dave at yougeezer dot co dot uk

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 this bug report at https://bugs.php.net/bug.php?id=62381&edit=1

Reply via email to