I added Paypal Express checkout plugin to my website. I get this error:
2019-07-23T15:45:32+00:00 CRITICAL Uncaught Error: Call to undefined function PayPal\Core\curl_version() in /var/www/html/wp-content/plugins/woo-paypal-express-checkout/includes/php-library/paypal-rest/lib/PayPal/Core/PayPalHttpConfig.php:65
and this is the line
$curl = curl_version();
What can I do to resolve this probleme I tried to install php-curl but I always got the same result I used
sudo apt-get install php5-curl
sudo service apache2 restart