Integrate PHP-FPM with Nginx on Arch Linux
Integrate PHP-FPM with Nginx on Arch Linux
Prerequisites
PHP-FPM installed and running. See PHP-FPM install guide.
Socket path: /run/php-fpm/php-fpm.sock
Step 1 – Nginx server block
server {
listen 80;
server_name example.com;
root /var/www/example.com/html;
index index....