Hi, in anticipation of the current patching done to the machines to handle the Meltdown and Spectre issues, I upgraded my Ubuntu from 14 to 17.10. Now the WordPress site no longer works.
The article at seemed to be the same issue. https://www.digitalocean.com/community/questions/upgraded-ubuntu-on-droplet-now-wordpress-site-is-blank
I followed the first step and my script…
<?php phpinfo(); ?>
Doesn’t do anything.
What do I need to do to get my WordPress site back again?
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!
Revert your droplet to the snapshot you had performed before your in-place OS upgrade.
Hey, found your question while having the same issue (when upgrading to Ubuntu 18.04.1).
In my case, it seems the PHP module was not enabled in Apache, so the following command had to be run:
sudo a2enmod php7.2
After that, restart the Apache2 service:
sudo systemctl restart apache2
That would be it. I hope it works for you!
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.