centos 6 update libcurl




1) Create a new file /etc/yum.repos.d/city-fan.repo

2) Copy the following to the above file:

[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel5/x86_64/
enabled=1
gpgcheck=0
3) Operation:

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.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326848033&siteId=291194637