Skip to content

Instantly share code, notes, and snippets.

@bardware

bardware/httpd.conf

Created Sep 13, 2015
Embed
What would you like to do?
LoadModule fcgid_module "C:/Program Files (x86)/mod_fcgid-2.3.9/mod_fcgid.so"
<IfModule fcgid_module>
FcgidInitialEnv PATH "C:/Program Files (x86)/PHP/5_6-nts;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 120
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 300
FcgidMaxRequestLen 536870912
FcgidMaxProcessesPerClass 300
FcgidOutputBufferSize 64
FcgidProcessLifeTime 0
FcgidMinProcessesPerClass 0
FcgidFixPathinfo 0
FcgidProcessLifeTime 0
FcgidZombieScanInterval 20
FcgidTimeScore 3
# Location php.ini:
FcgidInitialEnv PHPRC "C:/Program Files (x86)/PHP/5_6-nts"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
FcgidPassHeader Authorization
<Files ~ "\.php$">
Options Indexes FollowSymLinks ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "C:/Program\ Files\ (x86)/PHP/5_6-nts/php-cgi.exe" .php
</Files>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment