Bug 48360 - provide sample configuration file for inclusion in httpd.conf
Summary: provide sample configuration file for inclusion in httpd.conf
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_fcgid (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2009-12-09 07:23 UTC by Jeff Trawick
Modified: 2014-12-10 09:22 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Trawick 2009-12-09 07:23:30 UTC
mod_fcgid should provide a sample config file showing directives that have to be modified by a substantial portion of the user community.
Comment 1 Mario 2014-07-26 17:30:58 UTC
Windows 

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule fcgid_module>
   FcgidIOTimeout 40
   FcgidConnectTimeout 10

   FcgidMaxProcesses 300
   FcgidMaxProcessesPerClass 300

   FcgidOutputBufferSize 64
   ProcessLifeTime 0
   FcgidMaxRequestsPerProcess 0
   FcgidMinProcessesPerClass 0
   FcgidFixPathinfo 0
   FcgidProcessLifeTime 0
   FcgidZombieScanInterval 20
   FcgidMaxRequestLen 536870912
   FcgidIOTimeout 120
   FcgidTimeScore 3
   
   FcgidPassHeader Authorization

   FcgidInitialEnv PHPRC "C:\\php5"
   FcgidInitialEnv PATH "C:\\php5;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"
   <Files ~ "\.php$">
      Options Indexes FollowSymLinks ExecCGI
      AddHandler fcgid-script .php
      FcgidWrapper "C:/php5/php-cgi.exe" .php
   </Files>
</IfModule> 

Linux

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule fcgid_module>
   FcgidIOTimeout 40
   FcgidConnectTimeout 10

   FcgidMaxProcesses 300
   FcgidMaxProcessesPerClass 300

   FcgidOutputBufferSize 64
   ProcessLifeTime 0
   FcgidMaxRequestsPerProcess 0
   FcgidMinProcessesPerClass 0
   FcgidFixPathinfo 0
   FcgidProcessLifeTime 0
   FcgidZombieScanInterval 20
   FcgidMaxRequestLen 536870912
   FcgidIOTimeout 120
   FcgidTimeScore 3
   
   FcgidPassHeader Authorization

   <Files ~ "\.php$">
      Options Indexes FollowSymLinks ExecCGI
      AddHandler fcgid-script .php
      FcgidWrapper /usr/bin/php5-cgi .php
   </Files>
</IfModule>
Comment 2 Mario 2014-07-26 20:08:04 UTC
Forgot 

php.ini 

cgi.fix_pathinfo = 1