The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Best Settings for mod_fastcgi  (Read 2424 times)

jimski

  • Newbie
  • *
  • Offline Offline
  • Posts: 15
Best Settings for mod_fastcgi
« on: February 20, 2014, 04:53:47 AM »

Any of you guys use mod_fastcgi on windows?
https://www.apachehaus.net/modules/mod_fastcgi/

Would you please share your setup.
Thank you in advance.

I have it partially working but with a high level of failed requests.
Here is my setup:

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>


Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13