Upgrading PHP from 7.3.22-1+focal to 7.4

fw2ty

New Member
#1
Hello everybody,

I am running a WordPress website using Google Cloud Platform OpenLiteSpeed deployment. Since PHP 7.4 is out, I would like to upgrade. I have tried running sudo apt update and sudo apt upgrade and it resulted in my PHP version updating from v7.3.17-1+focal to 7.3.22-1+focal. How do I update it further to PHP 7.4?
Things that I have already tried:
sudo apt install php7.4 - resulted in PHP -v output showing PHP 7.4.3, but WordPress still stays at 7.3
sudo apt install lsphp74 - no changes
sudo apt remove lsphp73 - crashed my website
 
#3
Hello everybody,

I am running a WordPress website using Google Cloud Platform OpenLiteSpeed deployment. Since PHP 7.4 is out, I would like to upgrade. I have tried running sudo apt update and sudo apt upgrade and it resulted in my PHP version updating from v7.3.17-1+focal to 7.3.22-1+focal. How do I update it further to PHP 7.4?
Things that I have already tried:
sudo apt install php7.4 - resulted in PHP -v output showing PHP 7.4.3, but WordPress still stays at 7.3
sudo apt install lsphp74 - no changes
sudo apt remove lsphp73 - crashed my website
no remove need.

# Ubuntu
apt install lsphp74 lsphp74-common lsphp74-imagick lsphp74-curl lsphp74-mysql lsphp74-imap lsphp74-json lsphp74-opcache lsphp74-memcached lsphp74-intl

after install
Webadmin(https://IP:7080) connect
Server Configuration – External App – LiteSpeed SAPI App Edit – Command : lsphp73/bin/lsphp -> lsphp74/bin/lsphp
 
#4
no remove need.

# Ubuntu
apt install lsphp74 lsphp74-common lsphp74-imagick lsphp74-curl lsphp74-mysql lsphp74-imap lsphp74-json lsphp74-opcache lsphp74-memcached lsphp74-intl

after install
Webadmin(https://IP:7080) connect
Server Configuration – External App – LiteSpeed SAPI App Edit – Command : lsphp73/bin/lsphp -> lsphp74/bin/lsphp

Thank you for your answer. I wasn't previously able to go to port 7080, but the document inside the first comment helped me, specifically this command:
ufw allow 7080
 
Last edited:
#7
no remove need.

# Ubuntu
apt install lsphp74 lsphp74-common lsphp74-imagick lsphp74-curl lsphp74-mysql lsphp74-imap lsphp74-json lsphp74-opcache lsphp74-memcached lsphp74-intl

after install
Webadmin(https://IP:7080) connect
Server Configuration – External App – LiteSpeed SAPI App Edit – Command : lsphp73/bin/lsphp -> lsphp74/bin/lsphp
Hi there,
I am trying this nearly two years after you wrote this.
I see that "Command" now has this value in it: `fcgi-bin/lsphpnew`
What should I change that too?
 
Top