Last active
December 21, 2015 16:48
-
-
Save ryaan-anthony/6335626 to your computer and use it in GitHub Desktop.
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
| #/etc/httpd/conf.d/mod_fastcgi.conf | |
| LoadModule fastcgi_module modules/mod_fastcgi.so | |
| <IfModule mod_fastcgi.c> | |
| Alias /php5.fcgi /usr/sbin/php-fpm.fcgi | |
| AddType application/x-httpd-fastphp5 .php | |
| Action application/x-httpd-fastphp5 /php5.fcgi | |
| FastCGIExternalServer /usr/sbin/php-fpm.fcgi -socket /var/run/php-fpm.sock -pass-header Authorization | |
| <Directory /home/*/public_html/cgi-bin> | |
| Options ExecCGI | |
| SetHandler cgi-script | |
| </Directory> | |
| </IfModule> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment