Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux: WordPress not working after a Linux OS upgrade


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:

  1. sudo apt-get purge php5-common
  2. sudo apt-get install libapache2-mod-php
  3. sudo apt-get install php-mysql
  4. service apache2 restart

 

By: Timothy Conrad