Upgraded Ubuntu on Droplet now Wordpress Site is blank

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?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

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).

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

Write following content in it:


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:

  1. 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

  1. 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!