How to upgrade curl library in cyber panel?

Hello there, anyone can help me to update cURL to 7.55.0+ i have currently 7.29.0, PHP 8.1 please urgent I try all ways but not solved.

@josephgodwinke kindly help bro, i stuck

Hello @maliraza Happy you are here

First before I give you a solution kindly share your server os e.g. AlmaLinux 8.4 and php version from terminal e.g. php 8.1.13

CentOS 7 PHP version 8.1

i follow this guide

but still showing curl 7.29.0


$ yum install wget gcc openssl-devel -y
$ wget -cv
$ gunzip -c curl-7.86.0.tar.gz | tar xvf -
$ cd curl-7.86.0
$ ./configure --with-ssl
$ make
$ make install
$ curl --version

Next step is to get the source of php 8.1. I will assume since you have not provided the version you are running and you can access ssh are sudouser or root:

$ wget -cv
$ tar xzvf php-8.1.13.tar.gz
$ cd php-8.1.13/ext/curl
$ /usr/local/lsws/lsphp81/bin/phpize
$ ./configure --with-php-config=/usr/local/lsws/lsphp81/bin/php-config --with-curl=/usr/bin
$ make
$ make install
$ service lsws reload
1 Like

I have very less Technical Knowledge, if you don’t mine you can join me on Anydesk or Teamviewer? Thansk