Nginx: Enable PHP-FPM

In terminal, install PHP-FCM sudo apt install php-fpm Open sudo nano /etc/nginx/sites-available/default Then, uncomment fastcgi_pass unix:/run/php/php8.1-fpm.sock