The way of the future

I upgraded my server from Ubuntu 12.04 to 14.04 this weekend. It took forfricking ever, thanks to one little file that got added to my Apache configuration files. I never found anything about it online, either; the only way out was through prolonged cussing.

So (search engines!), if you had a working Ubuntu 12.04 server that you upgraded to 14.04, only to discover that your PHP files are no longer processed by PHP (i.e. your server just spits out the PHP code as the page): check if /etc/apache2/conf-available/php5-cgi.conf exists. If so, try disabling it in the commandline (a2dissite php5-cgi.conf) and restarting Apache.

Otherwise there were a mess of issues, but they were pretty easy to address: find a service that’s broken, check the error log, fix the error, repeat until the service works. It’s pretty much the sysadmin equivalent of Shinji’s “Target in the center; pull the switch. Target in the center; pull the switch.” training in Evangelion.

 

2 Responses to The way of the future

 
 

Leave a Reply

Your email address will not be published. Required fields are marked *

powered by wordpress