1) 创建一个新文件 /etc/yum.repos.d/city-fan.repo
2) 复制下面的到上面文件中:
[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel5/x86_64/
enabled=1
gpgcheck=0
3) 操作:
yum clean all
yum install curl
4)
service nginx restart
service php-fpm restart
And it's done.
Observe that for other rhel/centos versions, all you have to do is specify the appropriate city-fan url.
centos 6 更新 libcurl
最新推荐文章于 2023-10-15 18:20:22 发布