cURL / Mailing Lists / curl-and-php / Single Mail


curl_exec() never returns; PHP script termination

From: Kevin Sanders <>
Date: Sun, 24 Feb 2008 17:51:54 -0500

I'm seeing strange behavior from curl_exec() on a particular web host.
The problem is that after calling curl_exec(), the PHP script seems to timeout after about 10 seconds and return a blank page.
No code after the curl_exec() is ever ran.
The symptoms are not unlike this PHP bug recorded in 2001:
"Every script I have that uses cURL never makes it past the curl_exec()line. Apache just seems to die at that point."
Web Host: SiteGround.comPHP Version 5.0.5 libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.2.3 libidn/0.5.6
The curl url is
I've tested the script on 4 different hosts, and it works on 3 out of 4.
Any clues as to why this is happening? Anyone seen this before?

Received on 2008-02-24