Skip to content

Instantly share code, notes, and snippets.

@robophil
Last active August 21, 2018 00:32
Show Gist options
  • Save robophil/727baa12bf441bd9b575ebc1b4ed2a5f to your computer and use it in GitHub Desktop.
Save robophil/727baa12bf441bd9b575ebc1b4ed2a5f to your computer and use it in GitHub Desktop.
Configure apache2.4 and php5.6-fpm
# 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>
@robophil
Copy link
Author

A good starting point here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment