September 22

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


Copyright 2021. All rights reserved.

Posted September 22, 2017 by Timothy Conrad in category "Linux", "Websites

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B