After upgrading my Digital Ocean server from Ubuntu 14.04 to 16.04, none of my WordPress sites would work.
The issue was that the version of PHP had changed in 16.04
The following steps fixed the issue:
- sudo apt-get purge php5-common
- sudo apt-get install libapache2-mod-php
- sudo apt-get install php-mysql
- service apache2 restart
By: Timothy Conrad