1. 程式人生 > >centos7 php56重新安裝gd庫

centos7 php56重新安裝gd庫

這邊提供安裝php5.6的yum方法擴充套件自選。

執行下列命令
# rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

 

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

重啟php-fpm

php -m 檢視。