Report this

What is the reason for this report?

Easiest/safest way to get a fully updated LAMP droplet?

Posted on August 25, 2019

All 3 LAMP stacks on the DO marketplace have outdated/insecure components and the default PPA does not let me upgrade PHP, MySQL, Apache, PHPMyAdmin to their latest secure versions.

What would be the easiest/safest way to get a fully updated LAMP droplet? (latest MySQL 5 or 8 would both be ok I guess)



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!

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.

Hello,

What you can do is to backup your droplet and upgrade the components manually. In this was if anything goes wrong you will be able to revert the changes. Also before upgrading LAMP you need to make sure your application/site is compatible with the newer versions of PHP, MySQL and Apache, this is really important.

If you can provide more information about the droplet - what’s OS is using, I can give you more information about the process.

Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.