File not found NGINX

June 5, 2018 528 views
Nginx PHP Ubuntu 16.04

One website that is hosted on a server I recently increased php to 7.2, If I had known the issues this would cause I might have not started but hey ho!

So I have 3 sites sharing this VPS. The other 2 are working fine. And the one that was not working momentarily appeared to be working as I saw all the warning all the sites gave me as php broke the old php code (was not 7.2 compatible).

For some reason however I get simple file not found message on the screen. So searching yesterday I found some posts but most all were nothing useful.
I think I have checked the correct user. Will php user be changed somehow?

So I also get this for the sitemap.xml file so it's not looking related to the php for me..

My server block for the php is

location ~ \.php$ {
                include snippets/fastcgi-php.conf;
                fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        }

Be the first one to answer this question.