Question
Why does PHP GD not installing?
Error: Package: ea-php72-php-gd-7.2.34-4.4.5.cpanel.x86_64 (EA4)
Requires: libwebp.so.4()(64bit)
Available: libwebp-0.3.0-7.el7.x86_64 (base)
libwebp.so.4()(64bit)
Installed: libwebp-0.4.3-3.el6.x86_64 (@epel)
~libwebp.so.5()(64bit)
Answer
The problem is that the third-party repository "epel" has an updated version of the libwebp package which is already installed, but cPanel requires a lower version of the package that is provided by your operating system's (CentOS) repositories.
Run the below commands to remove the conflicting libwebp package from the RPM database and install the PHP GD extension by disabling the 'epel' repository for the duration of the installation.
rpm -e --nodeps --justdb libwebp
yum install ea-php72-php-gd --disablerepo=epel
Comments
0 comments
Article is closed for comments.