I have php curl 7.19.7 on my CentOS server, but I need to upgrade to 7.36.0.
I tried:
yum update php-curl
But I got:
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.t-home.mk
Setting up Update Process
No Packages marked for Update
What's the latest curl? The most recent stable version is 7.86.0, released on 26th of October 2022. Currently, 73 of the listed downloads are of the latest version. Where's the code?
cURL is a PHP extension that allows you to use the URL syntax to receive and submit data. cURL makes it simple to connect between various websites and domains. Obtaining a copy of a website's material. Submission of forms automatically, authentication and cookie use.
CURLOPT_RETURNTRANSFER. true to return the transfer as a string of the return value of curl_exec() instead of outputting it directly. CURLOPT_SASL_IR. true to enable sending the initial response in the first packet. Added in cURL 7.31.
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.
This currently updates curl from 7.19 to 7.40
You can try this, it worked for me on RHEL7
paste in it:
[CityFan] name=City Fan Repo baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/ enabled=1 gpgcheck=0
run
yum clean all yum install curl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With