. Skip to main content

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. 

Change the FastCGI backend to use the new (or old version) PHP-FPM socket, save and exit the file

Run the configuration test

Restart the web server

see if that gets you going long enough to figure out why php is breaking your site.