PHP-FPM: How to fix ‘Primary script unknown’ or ‘file not found’
Everything is running fine, you update, restart the php-fpm service and it’s fucked up. Nginx was filled with FastCGI sent in stderr: “Primary script unknown”. This problem was caused by ProtectHome=true in the php-fpm systemd unit file since version 7.4.0.
