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

查看:354
本文介绍了如何将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


推荐答案

使用城市迷仓库(卷发镜像的一部分 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

您可以检查最新版本

You can check for the latest version here.

当前将curl从7.19更新为7.40

This currently updates curl from 7.19 to 7.40

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

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