如何将 php cURL 升级到 7.36.0 版本? [英] How to upgrade php cURL to version 7.36.0?

查看:32
本文介绍了如何将 php cURL 升级到 7.36.0 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 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

这篇关于如何将 php cURL 升级到 7.36.0 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆