linux - CentOS6.6下yum安装PHP的gd库失败?
巴扎黑
巴扎黑 2017-04-10 15:48:52
0
2
428

CentOS6.6下yum安装PHP默认版本5.3的,为了安装高一点的PHP版本,使用自定义的yum源:remi源,启用remi-php56,安装php-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

安装其它的扩展没有问题比如php-mysql,php-redis等。

抱着试一试的心态,禁用remi源,运行 yum install php-gd ,跟预测的一样肯定报错,因为PHP安装的版本是5.6.10 ,现在yum默认找的是php5.3版本。

巴扎黑
巴扎黑

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!