PHP 4.3, Apache2.2 issue
Posted on 2011-05-10
We are using curl with a php4.1.3 app. It was running fine, connecting to another server. This past weekend, they migrated the other server now, I am getting several CURL errors such as:
2011-05-10 08:15:45 --> Account Id =1249, CURL Error No: 7, CURL Error: socket error: 111
2011-05-10 08:15:45 --> KT Response: OP - GetProjectTemplateList
2011-05-10 08:15:45 --> ERROR : OP GetProjectTemplateList - Empty response
The errors are sporadic, sometimes they work and sometimes they don't so we want to try adding a while loop to see if that will get it to work if it tries more than once, so I think want I want to do is have to, if error message ="CURL Error No: 7", run the code again, 4 more times. Does that make sense of it there another/better way to do this?