PHP fun
Sometimes PHP is a pain. no, kinda always a pain.
when you update PHP on your server and everything falls over, theme breaks, etc, you can roll back the php-fpm socket temporarily by editing the sites-available conf in nginx. Apache2 is a little different.
xxxxxxxxxxsudo vim /etc/nginx/sites-available/defaultChange the FastCGI backend to use the new (or old version) PHP-FPM socket, save and exit the file
xxxxxxxxxxlocation ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.2-fpm.sock;}Run the configuration test
xxxxxxxxxx$ nginx -tRestart the web server
xxxxxxxxxx$ sudo service nginx restartsee if that gets you going long enough to figure out why php is breaking your site.
No Comments