Issue Installing PHP Extensions

zainhosting

Registered
Jun 14, 2019
3
0
1
Lahore
cPanel Access Level
Root Administrator
Hello, When I try to add any extension in any PHP version through EasyApache4 I get this Error

Update Error:
Error: Package: ea-php72-php-fileinfo-7.2.19-1.1.3.cpanel.x86_64 (EA4)
Requires: ea-php72-php-common(x86-64) = 7.2.19-1.1.3.cpanel
Installed: 1:ea-php72-php-common-7.2.17-1.el7.cloudlinux.x86_64 (@imunify360-ea-php-hardened) ea-php72-php-common(x86-64) = 1:7.2.17-1.el7.cloudlinux Available: ea-php72-php-common-7.2.18-1.1.1.cpanel.x86_64 (EA4) ea-php72-php-common(x86-64) = 7.2.18-1.1.1.cpanel Available: ea-php72-php-common-7.2.18-2.2.2.cpanel.x86_64 (EA4) ea-php72-php-common(x86-64) = 7.2.18-2.2.2.cpanel Available: ea-php72-php-common-7.2.18-2.2.3.cpanel.x86_64 (EA4) ea-php72-php-common(x86-64) = 7.2.18-2.2.3.cpanel Available: ea-php72-php-common-7.2.19-1.1.3.cpanel.x86_64 (EA4) ea-php72-php-common(x86-64) = 7.2.19-1.1.3.cpanel The entire output was logged to: /usr/local/cpanel/logs/packman/errors/2019-06-17_05:47:42-1
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,940
630
263
Houston
cPanel Access Level
DataCenter Provider
If you're on CloudLinux you should be installing fileinfo from the CL repository.

The conflict is occurring because you're installing fileinfo from the cPanel EA4 Repository and you have php-common installed but it's from the cloudlinux repository.

If you're on CloudLinux you need to disable the EA4 repo and ensure that the CL-EA4 repo is enabled.
 
  • Like
Reactions: zainhosting

zainhosting

Registered
Jun 14, 2019
3
0
1
Lahore
cPanel Access Level
Root Administrator
If you're on CloudLinux you should be installing fileinfo from the CL repository.
Thank you so much for your answer, actually I am not using cloudlinux, I have used imunify360 trial and now that is expired and removed that from server, but I have installed the PHP version of cloudlinux.

and Now I cant get extensions etc from that cloudlinux PHP version.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,940
630
263
Houston
cPanel Access Level
DataCenter Provider
Hi @zainhosting


In that case things get a bit more complicated because you'll need to disable the CloudLinux resository, remove the CloudLinux EA4 RPMs and replace them with the EA4 cPanel equivalents to sort this out. I'm not sure why this happened for just installing imunify.
Please feel free to open a ticket using the link in my signature. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!