centos安装GD库失败

Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: gd-last(x86-64) >= 2.1.1 Error: 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

yum源的DG库版本太低,导致安装失败,执行yum --enablerepo=remi-php56 install php-gd 来安装高版本gd库

yum --enablerepo=remi-php56 install php-gd

原文地址:https://www.cnblogs.com/houweijian/p/7634584.html