title: I get a undefined curl_version() function in php
body: <p>I added Paypal Express checkout plugin to my website.
  I get this error:</p>
  
  <blockquote>
    <p>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</p>
  </blockquote>
  
  <p>and this is the line  </p>
  
  <pre><code>$curl = curl_version();
  </code></pre>
  
  <p>What can I do to resolve this probleme
  I tried to install php-curl but I always got the same result
  I used </p>
  
  <p><code>sudo apt-get install php5-curl
   sudo service apache2 restart</code></p>