Issue
I have been working with amazon S3 for media storage for a e-commerce site but I ran into this error and have no idea how to fix it:
Use of undefined constant CURLE_COULDNT_RESOLVE_HOST - assumed 'CURLE_COULDNT_RESOLVE_HOST'
Its coming from CurlBackoffStrategy witch is, as the documentation states:
Strategy used to retry when certain cURL error codes are encountered.
I'm assuming this is software incompatibility some were but I'm no sure where to look.
This code dose work on my local test environment but when the server gets it, it just fails. I have updated PHP and, curl to the same as my test environment but to no avail.
If anyone has any idea on what this error message means or a direction to point me in would be greatly appreciated.
Solution
I had forgotten to install php5-curl on my server.
Answered By - dfedde