Skip to content

Instantly share code, notes, and snippets.

@djgraham
Created February 17, 2011 13:57
Show Gist options
  • Select an option

  • Save djgraham/831763 to your computer and use it in GitHub Desktop.

Select an option

Save djgraham/831763 to your computer and use it in GitHub Desktop.
/etc/apache2/conf.d/php-fastcgi
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php
DefaultMaxClassProcessCount 4
DefaultInitEnv PHP_FCGI_MAX_REQUESTS 0
DefaultInitEnv PHP_FCGI_CHILDREN 0
FCGIWrapper /usr/bin/php-cgi .php
<Files *.php>
Options +ExecCGI
</Files>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment