Help Centre - Personal Account
  • Home
  • Mobile App Help
  • All About PayPal
  • My Account
  • My Financials
  • My Money
  • Payments
  • Claims and Limitations
  • Products & Services
  • PayPal Merchant Services
  • Tax Information and Reporting
  • Non-Profits and Donations

Why did I get "curl_exec error 6" with the PHP SDK?

Issue
You got a cURL error 6 message - Couldn't resolve host.

Cause
Version 7.10.x of cURL has a known bug that triggers a curl_exec 6 error.

Solution
Check your version of cURL. If necessary, upgrade to a recent version of cURL, such as 7.53.1.

If you use the most recent version of cURL, check your host's ability to find the IP address of a host using DNS.

See also:
cURL website

More ways we can help

We'll use cookies to improve and customise your experience if you continue to browse. Is it OK if we also use cookies to show you personalised ads? Learn more and manage your cookies