homepage Welcome to WebmasterWorld Guest from 107.21.187.131
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache mod fastcgi on Windows Server
jimski




msg:4647105
 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
https://www.example.net/modules/mod_fastcgi/

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.

 

phranque




msg:4648396
 11:03 pm on Feb 23, 2014 (gmt 0)

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]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved