Question

Upgraded Ubuntu on Droplet now Wordpress Site is blank

Posted October 18, 2016 3.8k views
WordPress Ubuntu 16.04

So I have a Ubuntu Wordpress Droplet. It has worked fine for a while and has been up to date via apt-get and wordpress. I do not run nginex as this is a very simple site.

I upgraded to Ubuntu 16.04 and now my site shows a blank page. If I go to the <url>/wp-admin page I see a bunch of raw php / html. I did a service apache2 reload / restart and this did not help.

PHP -v shows this

  • php7.0-cli
  • hhvm

Any idea’s?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

Hi,
How are you going one with this one?

Basically, I would check is PHP working. Create a file test.php under your html root (if you use default settings it is /var/www/html).

  • nano /var/www/html/test.php

Write following content in it:

<?php
phpinfp();
?>

Save it and close editor. Go to http://droplet-ip-or-domain/test.php and you should see PHP info page. If this is not the case write here and we will try to find out what’s the problem.

If you see info page, make sure you have required PHP7 plug-ins.
You can try installing them and you will see is something missing:

  • sudo apt-get install php7.0-mysql php7.0-curl php7.0-gd php7.0-mbstring php7.0-mcrypt php7.0-xml php7.0-xmlrpc

After install is complete restart Apache

  • sudo systemctl restart apache2

Try to access your WP site and hope for best :)

That was it. I was missing some packages. You saved the day thnx!

Submit an Answer