Skip to content

Instantly share code, notes, and snippets.

@styks1987
Created October 2, 2017 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save styks1987/95fc7eb47dbc0c8088b8685af4ed6e31 to your computer and use it in GitHub Desktop.
Save styks1987/95fc7eb47dbc0c8088b8685af4ed6e31 to your computer and use it in GitHub Desktop.
<IfModule mod_fastcgi.c>
AddType application/x-httpd-fastphp5 .php
Action application/x-httpd-fastphp5 /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-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