CentOS6.6 yum install PHP default version 5.3, in order to install a higher PHP version, use custom yum Source: remi source, enable remi-php56, when installing php-gd extension error: error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requir... centOS6.6 yum install PHP default version 5.3, in order to install a higher PHP version, use custom yum Source: remi source, enable remi-php56, when installing php-gd extension error:
Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: gd-last(x86-64) >= 2.1.1Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: libgd.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Install other extensions, such as php-mysql and php-redis.
Disable the remi source and run yum install php-gd with a try. As predicted, an error is returned because the PHP version installed is 5.6.10, currently, the default yum version is php5.3.
Reply content:
CentOS6.6 yum install PHP default version 5.3, in order to install a higher PHP version, use custom yum Source: remi source, enable remi-php56, when installing php-gd extension error:
Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: gd-last(x86-64) >= 2.1.1Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: libgd.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Install other extensions, such as php-mysql and php-redis.
Disable the remi source and run yum install php-gd with a try. As predicted, an error is returned because the PHP version installed is 5.6.10, currently, the default yum version is php5.3.
Yum install php-gd -- skip-broken
Run the command.
The yum source does not match the yum source and system version.
Yum clean all
Rpm -- rebuilddb
Yum update
Or use another yum source.