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

You got a cURL error 6 message - Couldn't resolve host. Version 7.10.x of cURL has a known bug that triggers a curl_exec 6 error. If you use the most recent version of cURL, check your host's ability to find the IP address of a host using DNS.

More ways we can help

Resolution Center

Fix transaction and account related issues

Tax center

Get your 1099-K and other tax info here

Business Help

Get help with using any of our PayPal products

Technical Help

Find out how PayPal works for your business

Message Center

Send, receive, and view your PayPal messages

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