Help Center - Personal Account
  • Home
  • Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

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

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more