Welcome to WebmasterWorld Guest from 54.146.180.94

Forum Moderators: Ocean10000 & incrediBILL & phranque

Apache mod fastcgi on Windows Server

   
12:45 pm on Feb 20, 2014 (gmt 0)



Hi guys can someone help me with installing mod_fastcgi on windows server.

My setup is partially working but throws a bunch of failed requests when testing with phpinfo.php.

Here is my setup:
I'm using this binary with Apache 2.4
[example.net...]

LoadFile "C:/PostgreSQL/8.4/bin/libpq.dll"
LoadModule fastcgi_module modules/mod_fastcgi.so

<IfModule mod_fastcgi.c>
ScriptAlias /www/ "C:/Server/Apache24/www/"
FastCgiConfig -initial-env PATH -autoUpdate -idle-timeout 120 -killInterval 3600 -maxClassProcesses 10 -maxProcesses 10 -startDelay 2
FastCgiServer "C:/Server/Apache24/www/php-cgi.exe" -initial-env PATH -processes 1

AddType application/x-httpd-php .php

<Files ~ "\.(php)$">
Options FollowSymLinks ExecCGI
AddHandler php-fastcgi .fcgi .php
</Files>

<Location /www/>
Options ExecCGI
SetHandler php-fastcgi
</Location>

Action php-fastcgi "/www/php-cgi.exe"

</IfModule>


Also, another less important issue that php can't load postgresql extensions even though php_pgsql and php_pdo_pgsql are included in php.ini.

The same php.ini works fine with mod_php and loads pgsql extensions just fine.
11:03 pm on Feb 23, 2014 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, jimski!


throws a bunch of failed requests

what did the server error log file tell you about the failures?


Also, another less important issue that php can't load postgresql extensions even though php_pgsql and php_pdo_pgsql are included in php.ini.

The same php.ini works fine with mod_php and loads pgsql extensions just fine.

i would raise this question in a separate thread in the PHP Server Side Scripting Forum [webmasterworld.com]
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month