curl PHP extension install

#1
I've got the below message in my admin console, but I can't see where to enable PHP cURL....any ideas?

WooCommerce Social Login requires the curl PHP extension to function. Contact your host or server administrator to install and configure the missing extension.
 
#3
Here is the info page https://speedstix.com/phpinfo.php, but according to the support of the plugin it is not active:

"I do see from the provided phpinfo file there does appear to be reference to cURL, but from the status report, it appears that it is unable to pull the cURL version and location. You may want to reach out to your host in regards to cURL not showing as being properly active."

I did downgrade php to 7.4 following advice in another post due to incompatibility with Elementor, so not sure if this is the cause.
 
#4
Bit of an update:

Output from curl -V (I uncommented curl in /usr/local/lsws/lsphp74/etc/php/7.4/litespeed/php.ini)

curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14

Then ran sudo killall -9 lsphp to restart php

Script handler is set to lsphp74
https://capture.dropbox.com/iNqquVIqEwY7CF0z

Woo system status still shows no curl present:

### Server Environment ###

Server Info: LiteSpeed
PHP Version: 7.4.30
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version:
SUHOSIN Installed: –
MySQL Version: 5.5.5-10.6.10-MariaDB-log
 
#5
...and moving on a bit further:

If I change the script handler for PHP to v8.1 wordpress reports curl is installed, but my site breaks (known issues with Elementor and v8.1

If I change the script handler for PHP to v7.4 wordpress reports curl is NOT installed. I need to use this version due to issue above.

Hopefully that all makes sense and is an easy enough fix.
 

Cold-Egg

Administrator
#6
Hi @guytz72 ,

Then I think you just need to install the curl package with the following command,
Code:
apt install lsphp74-curl -y
killall lsphp
Let me know if it works.
 
Top