Apache 2.0 + PHP + FastCGI on Windows
Posting this here because there were NO guides on how to properly do this in Windows:
LoadModule fastcgi_module modules/mod_fastcgi.so
<ifmodule mod_fastcgi.c>
Alias /php "C:/PHP"
FastCgiServer "c:/php/php-cgi.exe"
AddHandler php-fastcgi .php
FastCgiConfig -minProcesses 1
<location /php>
SetHandler fastcgi-script
Options ExecCGI
</location>
Action php-fastcgi /php/php-cgi.exe
AddType application/x-httpd-php .php
</ifmodule>
See more mod_fastcgi configuration options here. I strongly recommend using fcgid instead if using Apache 2.2 for Windows.
1 Comment »
RSS feed for comments on this post. | TrackBack URI

Thanks a lot for the info. As you mentioned, I could not find any info on how to setup Apache 2 + PHP5 + mod_fastcgi
Comment by Jatinder — July 17, 2009 @ 2:06 am