Knowledgebase

'libphp7.so conflicts between attempted installs' errors during cPanel installation on CloudLinux 9 Print

  • 0

Symptoms

CloudLinux 9 servers are currently encountering issues installing cPanel due to package conflicts:

[2026-03-24 14:32:33 +0100] [16577] (DEBUG):     Error: Transaction test error:
[2026-03-24 14:32:33 +0100] [16577] (DEBUG):       file /usr/lib64/apache2/modules/libphp7.so conflicts between attempted installs of ea-php71-php-1:7.1.33-20.el9.cloudlinux.7.x86_64 and ea-php70-php-1:7.0.33
-29.el9.cloudlinux.7.x86_64
[2026-03-24 14:32:33 +0100] [16577] (DEBUG):       file /usr/lib64/apache2/modules/libphp7.so conflicts between attempted installs of ea-php72-php-1:7.2.34-12.el9.cloudlinux.7.x86_64 and ea-php71-php-1:7.1.33
-20.el9.cloudlinux.7.x86_64
[2026-03-24 14:32:33 +0100] [16577] (DEBUG):       file /usr/lib64/apache2/modules/libphp7.so conflicts between attempted installs of ea-php73-php-1:7.3.33-15.el9.cloudlinux.7.x86_64 and ea-php72-php-1:7.2.34
-12.el9.cloudlinux.7.x86_64
[2026-03-24 14:32:33 +0100] [16577] (DEBUG):       file /usr/lib64/apache2/modules/libphp7.so conflicts between attempted installs of ea-php74-php-1:7.4.33-18.el9.cloudlinux.3.x86_64 and ea-php73-php-1:7.3.33
-15.el9.cloudlinux.7.x86_64

The issue can also affect trying to install any EasyApache 4 profile on a CloudLinux 9 server. cPanel is tracking this issue with case ID UPS-802.

 

Cause

The EasyApache 4 profiles on CloudLinux 9 servers contain the DSO package for each PHP version. This causes a conflict, as the DSO package is only able to be installed for one PHP version at any given time.

 

Resolution

Remove references to the DSO packages from the EasyApache 4 JSON profiles in /opt/cpanel/ea-profiles-cloudlinux/. New installations can stage the /etc/cpanel_initial_install_ea4_profile.json file with their profile. Ensure these packages are not included in the profile:

ea-php56-php
ea-php70-php
ea-php71-php
ea-php72-php
ea-php73-php
ea-php74-php
ea-php80-php
ea-php81-php
ea-php82-php

Additional information can be found in our documentation.


Was this answer helpful?
Back

Send Message