My Hosting server is on linux. I changed php 5.6 to php 8.1 version. But after this cUrl() not work for my codeigniter website. Generates error "Call to undefined function curl_init()". How to solve this problem. Is any package needed to install. If yes then How? Please give the step by step guide for to resolve this issue.
I searched a lot on google. But not get proper solution about this issue. For few search I got the solution about to install cUrl library. But did not get any explanation about commands on linux and on which terminal needs to perform this commands? On desktop terminal or linux server or through cPanel?
Please guide about it
2
Answers
your php 8.1 is missing the package curl
you have to update the packages type :
or
after that check if the packages like this :
you will have like this :
Provisioning the curl services in Cpanel via Easy Apache works up to PHP 8.3. Past Date actions for wordpress as well as Wordfence rules refresh are now functioning perfectly. Thank you!