我的 CentOS 服务器上有 php curl 7.19.7,但我需要升级到 7.36.0。
I tried:
yum update php-curl
但我得到了:
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.t-home.mk
Setting up Update Process
No Packages marked for Update
使用 city-fan 仓库(curl 镜像的一部分http://curl.haxx.se/download.html#LinuxRedhat http://curl.haxx.se/download.html#LinuxRedhat)
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-2-1.rhel6.noarch.rpm
yum install libcurl
您可以检查是否有最新版本here http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/repoview/city-fan.org-release.html.
目前,curl 从 7.19 更新到 7.40
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)