Error while upgrading PHP to 7.4 from existing 7.3.19+focal

#1
Stack: Openlitespeed - Wordpress
Cloud Service: GCP
Problem: Could not upgrade to PHP7.4 from existing 7.3 .19+focal
Error:

Some packages could not be installed.
This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lsphp74 :
Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
Depends: libonig2 (>= 5.9.5) but it is not installable
Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
Depends: libssl1.0.0 (>= 1.0.1) but it is not installable
Depends: libwebp5 but it is not installable
Depends: libzip2 (>= 0.11.2) but it is not installable lsphp74-curl :
Depends: libcurl3 (>= 7.28.0) but it is not installable
Depends: libssl1.0.0 (>= 1.0.0) but it is not installable lsphp74-imagick :
Depends: libmagickcore-6.q16-2 (>= 8:6.8.8.2) but it is not installable
Depends: libmagickwand-6.q16-2 (>= 8:6.8.8.9) but it is not installable lsphp74-imap :
Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Pl help
 

Unique_Eric

Administrator
Staff member
#2
Hi,

Please try updating the package first, then do the lsphp74 extensions install. I just launched a new one and install lshpp74 without issue.
Code:
apt-get update
Code:
apt-get install lsphp74 lsphp74-common lsphp74-curl lsphp74-imagick lsphp74-imap lsphp74-json lsphp74-memcached lsphp74-mysql lsphp74-opcache lsphp74-redis -y
Then set the lsphp74 binary path to the External App
https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-set-up-virtual-host-specific-php
 
Top