Report this

What is the reason for this report?

How to update PHP version for WordPress with OpenLiteSpeed from 7.3 to 7.4 (lastest)

Posted on September 14, 2020

Hello, And thanks in advance for all your comments. I created a Wordpress website using latest tutorial for it, unfortunatly the latest isn’t so new, and i did install PHP 7.3 and i would love to install 7.4 for my new wordpress website.

  1. How to install the PHP 7.4 on Ubuntu 20.04?
  2. And OpenLiteSpeed packages.
  3. How to delete the old PHP 7.3 ?

Thanks for all



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.

Thank you @qtwrk

  1. When I do php --version I get “PHP 7.4.3” and should be 7.4.9 Already reboot the droplet and nothing changed.

About the PHP73 I am afraid to remove it again, so I decided to leave it.

Thanks for all

Thank you @qtwrk for your support. The last step “apt remove lsphp73” breaks my wordpress site, maybe, somewhere is using the old 7.3.

I need to find what and where is using 7.3

Thanks for all your kindness

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.