Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Apache Vhost example config for use PHP7-FPM
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName example.tld
ServerAlias www.example.tld
<FilesMatch \.php$>
SetHandler proxy:unix:/run/php/php7.0-fpm.sock|fcgi://
DocumentRoot /var/www/html/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment