Skip to content

Instantly share code, notes, and snippets.

Embed
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://127.0.0.1:9001
</FilesMatch>
DocumentRoot /var/www/html/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.