Skip to content

Instantly share code, notes, and snippets.

@sadiqsalau
Created August 22, 2023 05:01
Show Gist options
  • Save sadiqsalau/01e8925b63cbe9581992d52fb8a0d22a to your computer and use it in GitHub Desktop.
Save sadiqsalau/01e8925b63cbe9581992d52fb8a0d22a to your computer and use it in GitHub Desktop.
PHP FPM Linux
<Directory "/srv/http/example">
Allow from all
Require all granted
AllowOverride all
Options all
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php80-fpm/php-fpm.sock|fcgi://localhost"
</FilesMatch>
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment