Overcoming Common EasyApache PHP Installation Hurdles

If you're trying to install a newer version of PHP using cPanel/WHM's EasyApache4, you may encounter issues during the installation process. Normally, you would enable the desired PHP version and its extensions from WHM > EasyApache > Select a Profile/Customize > PHP versions, then proceed to the Review and Finalize step to complete the installation. However, in some cases, the installation may stall at the Review stage, and the finalize option may not work, resulting in no installable options being displayed.

[root@mercury ~]# yum install ea-php81 -y
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 208.100.0.204
 * cpanel-addons-production-feed: 208.100.0.204
 * cpanel-plugins: 208.100.0.204
 * base: mirrors.sonic.net
 * epel: mirror.sfo12.us.leaseweb.net
 * extras: centos-distro.1gservers.com
 * remi-safe: cdn.centos.no
 * updates: mirrors.sonic.net
Resolving Dependencies
--> Running transaction check
---> Package ea-php81.x86_64 0:8.1.17-1.1.1.cpanel will be installed
--> Processing Dependency: ea-php81-php-cli for package: ea-php81-8.1.17-1.1.1.cpanel.x86_64
--> Processing Dependency: ea-php81-pear for package: ea-php81-8.1.17-1.1.1.cpanel.x86_64
--> Running transaction check
---> Package ea-php81-pear.noarch 0:1.10.13-2.2.2.cpanel will be installed
--> Processing Dependency: ea-php81-php-xml for package: ea-php81-pear-1.10.13-2.2.2.cpanel.noarch
--> Processing Dependency: ea-php81-php-posix for package: ea-php81-pear-1.10.13-2.2.2.cpanel.noarch
--> Processing Dependency: ea-php81-php-ftp for package: ea-php81-pear-1.10.13-2.2.2.cpanel.noarch
--> Processing Dependency: ea-php81-php-devel for package: ea-php81-pear-1.10.13-2.2.2.cpanel.noarch
---> Package ea-php81-php-cli.x86_64 0:8.1.17-1.1.3.cpanel will be installed
--> Processing Dependency: ea-php81-php-litespeed = 8.1.17-1.1.3.cpanel for package: ea-php81-php-cli-8.1.17-1.1.3.cpanel.x86_64
--> Processing Dependency: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel for package: ea-php81-php-cli-8.1.17-1.1.3.cpanel.x86_64
--> Running transaction check
---> Package ea-php81-php-cli.x86_64 0:8.1.17-1.1.3.cpanel will be installed
--> Processing Dependency: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel for package: ea-php81-php-cli-8.1.17-1.1.3.cpanel.x86_64
---> Package ea-php81-php-devel.x86_64 0:8.1.17-1.1.3.cpanel will be installed
---> Package ea-php81-php-ftp.x86_64 0:8.1.17-1.1.3.cpanel will be installed
--> Processing Dependency: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel for package: ea-php81-php-ftp-8.1.17-1.1.3.cpanel.x86_64
---> Package ea-php81-php-litespeed.x86_64 0:8.1.17-1.1.3.cpanel will be installed
--> Processing Dependency: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel for package: ea-php81-php-litespeed-8.1.17-1.1.3.cpanel.x86_64
---> Package ea-php81-php-posix.x86_64 0:8.1.17-1.1.3.cpanel will be installed
--> Processing Dependency: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel for package: ea-php81-php-posix-8.1.17-1.1.3.cpanel.x86_64
---> Package ea-php81-php-xml.x86_64 0:8.1.17-1.1.3.cpanel will be installed
--> Processing Dependency: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel for package: ea-php81-php-xml-8.1.17-1.1.3.cpanel.x86_64
--> Finished Dependency Resolution
Error: Package: ea-php81-php-ftp-8.1.17-1.1.3.cpanel.x86_64 (EA4)
           Requires: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
           Installed: 1:ea-php81-php-common-8.1.11-1.el7.cloudlinux.x86_64 (@imunify360-ea-php-hardened)
               ea-php81-php-common(x86-64) = 1:8.1.11-1.el7.cloudlinux
           Available: ea-php81-php-common-8.1.15-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.15-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.3.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
Error: Package: ea-php81-php-posix-8.1.17-1.1.3.cpanel.x86_64 (EA4)
           Requires: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
           Installed: 1:ea-php81-php-common-8.1.11-1.el7.cloudlinux.x86_64 (@imunify360-ea-php-hardened)
               ea-php81-php-common(x86-64) = 1:8.1.11-1.el7.cloudlinux
           Available: ea-php81-php-common-8.1.15-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.15-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.3.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
Error: Package: ea-php81-php-cli-8.1.17-1.1.3.cpanel.x86_64 (EA4)
           Requires: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
           Installed: 1:ea-php81-php-common-8.1.11-1.el7.cloudlinux.x86_64 (@imunify360-ea-php-hardened)
               ea-php81-php-common(x86-64) = 1:8.1.11-1.el7.cloudlinux
           Available: ea-php81-php-common-8.1.15-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.15-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.3.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
Error: Package: ea-php81-php-xml-8.1.17-1.1.3.cpanel.x86_64 (EA4)
           Requires: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
           Installed: 1:ea-php81-php-common-8.1.11-1.el7.cloudlinux.x86_64 (@imunify360-ea-php-hardened)
               ea-php81-php-common(x86-64) = 1:8.1.11-1.el7.cloudlinux
           Available: ea-php81-php-common-8.1.15-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.15-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.3.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
Error: Package: ea-php81-php-litespeed-8.1.17-1.1.3.cpanel.x86_64 (EA4)
           Requires: ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
           Installed: 1:ea-php81-php-common-8.1.11-1.el7.cloudlinux.x86_64 (@imunify360-ea-php-hardened)
               ea-php81-php-common(x86-64) = 1:8.1.11-1.el7.cloudlinux
           Available: ea-php81-php-common-8.1.15-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.15-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.16-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.16-1.1.3.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.2.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.2.cpanel
           Available: ea-php81-php-common-8.1.17-1.1.3.cpanel.x86_64 (EA4)
               ea-php81-php-common(x86-64) = 8.1.17-1.1.3.cpanel
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@mercury ~]#

Make sure to replace the desired PHP version with ea-php81. As you can see here, the ea-php81-php-common from CloudLinux (with, Imunify360 repo), is causing the issue. To overcome this, remove it first and it will solve the issue:

yum remove ea-php81-php-common -y

Now, you can able to install the desired PHP version with EasyApache4 or the CLI.

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Install CpCleaner in cPanel through SSH?

Installation Run the following shell commands as root via SSH: wget -O cpc-1.0.3.tar...