如何将 php cURL 升级到 7.36.0 版本?

2022-01-13 00:00:00 linux curl centos php

我的 CentOS 服务器上有 php curl 7.19.7,但我需要升级到 7.36.0.

I have php curl 7.19.7 on my CentOS server, but I need to upgrade to 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 repo(部分curl镜像http://curl.haxx.se/download.html#LinuxRedhat)

Use the city-fan repo ( part of the curl mirror 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

您可以查看最新版本这里.

目前这会将 curl 从 7.19 更新到 7.40

This currently updates curl from 7.19 to 7.40

相关文章