By rellis
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
Any idea’s?
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!
Accepted Answer
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 :)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.