Upgraded Ubuntu on Droplet now Wordpress Site is blank

October 18, 2016 3.4k 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?

2 Answers
xMudrii October 19, 2016
Accepted Answer

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:


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

  • Just a clarification, you have a typo in your php above. It should be phpinfo(); not phpinfp();


    • I can’t edit it anymore because after some time you can’t edit old post. :/

      Anyways, thanks for letting future readers know about it. :D

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

Have another answer? Share your knowledge.