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

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版本。

巴扎黑
巴扎黑

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!