Bug #62381 [Opn]: FPM doesn't handle Apache script_filename on Windows
| From: | pajoye@php.net | Date: | Thu, 21 Jun 2012 12:41:57 +0000 |
| Subject: | Bug #62381 [Opn]: FPM doesn't handle Apache script_filename on Windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171411@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62381&edit=1
ID: 62381
Updated by: pajoye@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