Created
December 10, 2013 07:08
-
-
Save hmkz/7886793 to your computer and use it in GitHub Desktop.
apache 1.3.42 + mod_fastcgi + php-fpm(5.4)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## apache 1.3.42 + mod_fastcgi + php-fpm(5.4) | |
LoadModule fastcgi_module libexec/mod_fastcgi.so | |
AddModule mod_fastcgi.c | |
## FastCGI | |
Alias /php5.fcgi /usr/bin/php-cgi | |
FastCGIConfig -initial-env -autoUpdate -idle-timeout 120 -killInterval 3600 -maxClassProcesses 3 -maxProcesses 15 | |
FastCGIExternalServer /usr/bin/php-cgi -socket /tmp/php-fpm.sock -pass-header Authorization | |
Action application/x-httpd-php /php5.fcgi | |
AddType application/x-httpd-php .php .php5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment