|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-06-21 09:55 UTC] 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\ PatchesFPM-Fix-Windows-drive-letters (last revision 2012-09-10 08:38 UTC by tulach at position dot cz)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 20:00:02 2025 UTC |
There seems to be, I have FPM working fine with the nginx Windows port and PHP 5.4.4. Here's an example of the config I used for nginx: location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9054; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME c:/nginx-1.2.1/html/$fastcgi_script_name; include fastcgi_params; } Plus the "-b IP:Port" argument is there... but I didn't see any new php-cgi processes created to handle requests.