我的 CentOS 服务器上有 php curl 7.19.7,但我需要升级到 7.36.0。
我试过:
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)
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 .
当前将 curl 从 7.19 更新到 7.40
关于php - 如何将 php cURL 升级到 7.36.0 版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28495444/