I have wordpress installed on ubuntu 18.04.2 LTS. My Curl version is curl 7.58.0
when I enable the WooCommerce PayPal Checkout Gateway I get error message. "WooCommerce Gateway PayPal Checkout requires cURL to be installed on your server".
Any help on how I can get woocommerce to detect curl?
2 Answers
It sounds like you installed curl but not php-curl. Use apt to install it:
sudo apt install php-curl
Then restart apache:
systemctl restart apache2
...and you should be good to go.
Install the version specific php curl package.
If you are running PHP version: 7.3, install php7.3-curl.
apt install php7.3-curl