ID: 42928 Comment by: pttmail at gmail dot com Reported By: telsbern at uga dot edu Status: No Feedback Bug Type: cURL related Operating System: Windows 2003 server sp2 PHP Version: 5.2.4 New Comment:
$this->curl = curl_init(); curl_setopt($this->curl, CURLOPT_HEADER, $header); curl_setopt($this->curl, CURLOPT_VERBOSE, 0); curl_setopt($this->curl, CURLOPT_HTTPGET, 1); curl_setopt($this->curl, CURLOPT_RETURNTRANSFER,0); curl_setopt($this->curl, CURLOPT_VERBOSE,0); curl_setopt($this->curl, CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_OLDEST); curl_setopt($this->curl, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($this->curl, CURLOPT_MAXCONNECTS, 10); //curl_setopt($this->curl, CURLOPT_COOKIE, $this->session); curl_setopt($this->curl, CURLOPT_URL, $this->url); Previous Comments: ------------------------------------------------------------------------ [2007-10-28 14:00:01] webmaster at intobikes dot co dot uk I have exactly the same problem on a server running Centos 5 with WHM/cPanel-11. It's a brand new machine and is being readied for service with the latest stable versions of everything it needs. PHP is version 5.2.4 All error warnings are on, even notice and strict ones. CURL works fine with the "curl_setopt($ch, CURLOPT_MAXCONNECTS, someIntegerHere);" line removed, but otherwise fails silently. And you know how long they take to find! ------------------------------------------------------------------------ [2007-10-19 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-10-11 18:16:40] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Works fine for me on Linux, could be an issue with an old libcurl or something win32 specific. A backtrace would be super-useful in this case. ------------------------------------------------------------------------ [2007-10-11 14:19:31] telsbern at uga dot edu Those options were both already what you suggested. I just verified them. ------------------------------------------------------------------------ [2007-10-11 13:26:54] [EMAIL PROTECTED] Try making the errors show up by setting error_reporting = E_ALL and display_errors = On.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/42928 -- Edit this bug report at http://bugs.php.net/?id=42928&edit=1