Last active
August 21, 2018 00:32
-
-
Save robophil/727baa12bf441bd9b575ebc1b4ed2a5f to your computer and use it in GitHub Desktop.
Configure apache2.4 and php5.6-fpm
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
# location for config | |
# /etc/apache2/conf-available/php5.6-fpm.conf" | |
<IfModule mod_fastcgi.c> | |
AddHandler php5.6-fcgi .php | |
Action php5.6-fcgi /php5.6-fcgi | |
Alias /php5.6-fcgi /usr/lib/cgi-bin/php5.6-fcgi | |
FastCgiExternalServer /usr/lib/cgi-bin/php5.6-fcgi -socket /var/run/php/php5.6-fpm.sock -pass-header Authorization -idle-timeout 3600 | |
<Directory /usr/lib/cgi-bin> | |
Require all granted | |
</Directory> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A good starting point here