Apache Haus Distribution of mod_fcgid/2.3.9a

Read Me File for the Apache Haus Distribution of mod_fcgid 2.3.9a
Date: January 27, 2016
Application: mod_fcgid 2.3.9a
Distribution File: mod_fcgid-2.3.9a-2.4.x-x86-vc14.zip
Original source by: Apache Software Foundation
Original Home: http://httpd.apache.org/mod_fcgid/
   
Win32 binary by: Gregg at The Apache Haus
Mail: info@apachehaus.com
Home: http://www.apachehaus.com
   
** This build for Apache 2.4.x x86 only! **
Supported Windows Versions:
   
Windows Vista
Windows Server 2008
Windows 7  
Windows Server 2012
Windows 8

Package Contents:

readme_first.html [this file]
CHANGES-FCGID
FCGID-REVISION
LICENSE-FCGID
NOTICE-FCGID
README-FCGID
conf/httpd-fcgid.conf
manual/mod_fcgid.html
manual/mod_fcgid.html.en
manual/mod_fcgid.xml
manual/mod_fcgid.xml.meta
modules/mod_fcgid.so


First time installation
Upgrade from previous version

NOTES:

Modules built on Visual C++ 2015 do not run on Windows XP or Windows Server 2003

The module is built with Visual Studio 2015 x86, be sure to install the new Visual C++ 2015 x86 Redistributable Package
it can be downloaded from;

https://www.microsoft.com/en-us/download/details.aspx?id=48145


INTRODUCTION

mod_fcgid is an Apache 2.4 binary compatible alternative to Apache module mod_fastcgi mod_fcgid has a new process management strategy, which concentrates on reducing the number of fastcgi server, and kick out the corrupt fastcgi server as soon as possible.

The Future of mod_fcgid;

Is a bright one now that the Apache Software Foundation (ASF) has taken over the development and maintenance of mod_fcgid as a future inclusion into the Apache HTTPd Server.


If this is your first install of mod_fcgid:

To install this module on your Apache 2.4.x server you need to copy the necessary files to your Apache folder and add items to your Apache's httpd.conf file. C:\Apache24 will be used as our ServerRoot for the examples below.

1. Install the Visual C++ 2012 Redistributable Package
    Download, if you have not done so already, from the
    address above.

2. Copy mod_fcgid.so to your Apache 2.4.x modules folder
    C:/Apache24/modules/mod_fcgid.so for example

3. Copy httpd-fcgid.conf to your Apache 2.4.x conf/extra folder
    C:/Apache24/conf/extra/httpd-fcgid.conf for example

4. Modify httpd-fcgid.conf to your match your systems configuration

5. Copy the manual files to your Apache 2.4.x manual/mod folder
    C:/Apache24/manual/mod/mod_fcgid.html for example

6. Add to your httpd.conf (example: C:/Apache24/conf/httpd.conf):

    LoadModule fcgid_module modules/mod_fcgid.so

7. Add to your httpd.conf file near the bottom with the other included files:

    Include conf/extra/httpd-fcgid.conf



Sample httpd-fcgid.conf Configuration:

# Fast CGI module Settings (PHP)
<IfModule fcgid_module> FcgidInitialEnv PATH "c:\\php;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;" FcgidInitialEnv SystemRoot "C:\\Windows" FcgidInitialEnv SystemDrive "C:" FcgidInitialEnv TEMP "C:\\WINDOWS\\Temp" FcgidInitialEnv TMP "C:\\WINDOWS\\Temp" FcgidInitialEnv windir "C:\\WINDOWS" FcgidIOTimeout 40 FcgidConnectTimeout 10 FcgidMaxProcesses 8 FcgidOutputBufferSize 64 ProcessLifeTime 240 FcgidMaxRequestsPerProcess 500 FcgidMinProcessesPerClass 0 # Global Config # Comment out next 4 lines to use per directory or per VirtualHost configuration <Files ~ "\.php$>" AddHandler fcgid-script .php FcgidInitialEnv PHPRC "C:\\php" FcgidWrapper "C:/php/php-cgi.exe" .php </Files> # Do not comment out below line </IfModule> # Comment out Global Config above to use the examples below # You can use multiple Directory and VirtualHost Configs at the same time # Per Directory Config #<Directory /Apache24/htdocs/fcgi> # FcgidInitialEnv PHPRC "C:\\php" # AddHandler fcgid-script .php # Options Indexes FollowSymLinks ExecCGI # FcgidWrapper "C:/php/php-cgi.exe" .php # # AllowOverride all # Order allow,deny # Allow from all # Satisfy any #</Directory> # Per VirtualHost Config #<VirtualHost *:80> # DocumentRoot /Apache24/htdocs/fcgi # ServerName fcgi.local # ErrorLog logs/fcgi.error.log # CustomLog logs/fcgi.access.log common # <Directory "/Apache24/htdocs/fcgi"> # FcgidInitialEnv PHPRC "c:\\php" # AddHandler fcgid-script .php # Options Indexes FollowSymLinks ExecCGI # FcgidWrapper "C:/php/php-cgi.exe" .php # # AllowOverride all # Order allow,deny # Allow from all # Satisfy any # </Directory> #</VirtualHost>

If you are upgrading from mod_fcgid 2.2(a/b/c) or 2.3.0-2.3.6(a/b/c/d):

Although it is believed that this version of mod_fcgid is backward compatible with your current configuration, this will not be the case in the future, Once The Apache Software Foundation took over development and maintenance of this module, to better align the run time directives with the way other Apache modules, runtime directives for mod_fcgid have changed..

mod_fcgid 2.2 Directive mod_fcgid 2.3 Directive
 
BusyScanInterval FcgidBusyScanInterval
BusyTimeout FcgidBusyTimeout
DefaultInitEnv FcgidInitialEnv
DefaultMaxClassProcessCount FcgidMaxProcessesPerClass
DefaultMinClassProcessCount FcgidMinProcessesPerClass
ErrorScanInterval FcgidErrorScanInterval
FastCgiAccessChecker FcgidAccessChecker
FastCgiAccessCheckerAuthoritative FcgidAccessCheckerAuthoritative
FastCgiAuthenticator FcgidAuthenticator
FastCgiAuthenticatorAuthoritative FcgidAuthenticatorAuthoritative
FastCgiAuthorizer FcgidAuthorizer
FastCgiAuthorizerAuthoritative FcgidAuthorizerAuthoritative
FCGIWrapper FcgidWrapper
IdleScanInterval FcgidIdleScanInterval
IdleTimeout FcgidIdleTimeout
IPCCommTimeout FcgidIOTimeout
IPCConnectTimeout FcgidConnectTimeout
MaxProcessCount FcgidMaxProcesses
MaxRequestInMem FcgidMaxRequestInMem
MaxRequestLen FcgidMaxRequestLen
MaxRequestsPerProcess FcgidMaxRequestsPerProcess
OutputBufferSize FcgidOutputBufferSize
PassHeader FcgidPassHeader
PHP_Fix_Pathinfo_Enable FcgidFixPathinfo
ProcessLifeTime FcgidProcessLifeTime
SharememPath FcgidProcessTableFile
SocketPath FcgidIPCDir
SpawnScore FcgidSpawnScore
SpawnScoreUpLimit FcgidSpawnScoreUpLimit
TerminationScore FcgidTerminationScore
TimeScore FcgidTimeScore
ZombieScanInterval FcgidZombieScanInterval