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 查看。

猜你喜欢

转载自blog.csdn.net/u011383596/article/details/83993424
今日推荐