Created
July 1, 2017 12:18
-
-
Save alongosz/82748ebd90bd3a6c1fd05dd2beff6c1b to your computer and use it in GitHub Desktop.
Apache2 php-fpm 7.1 as fastcgi configuration
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
<IfModule mod_fastcgi.c> | |
AddType application/x-httpd-fastphp7 .php | |
Action application/x-httpd-fastphp7 /php7-fcgi | |
Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi | |
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php7-fpm.sock -pass-header Authorization | |
<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