I am using OpenLiteSpeed 1 click WordPress on Ubuntu 20.04
My droplets, 2gb CPU 2gb RAM

How to do this upgrade?

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.

2 answers

you can try :

apt update

apt-get -y install lsphp74 lsphp74-common lsphp74-curl lsphp74-dev lsphp74-imap lsphp74-intl lsphp74-json lsphp74-ldap lsphp74-mysql lsphp74-opcache lsphp74-pspell lsphp74-sqlite3 lsphp74-tidy

after that , edit file /usr/local/lsws/conf/httpd_config.conf , find line lsphp73/bin/lsphp and change it to lsphp74/bin/lsphp

restart OLS and PHP by systemctl restart lsws and pkill lsphp

It Works!

Thank you very much

Submit an Answer