ID: 35126 Updated by: [EMAIL PROTECTED] Reported By: mike at phpeeb dot com -Status: Open +Status: Feedback Bug Type: cURL related Operating System: Unix PHP Version: 4.4.1 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-11-06 15:59:41] mike at phpeeb dot com Description: ------------ cURL no longer executes, script just dies. Happened with new installation of 4.4.0-4 my webhost installed. I cannot upgrade PHP myself, hence my choosing 4.4.1 PHP Version: 4.4.0-4 cURL Version: 7.15.0 Reproduce code: --------------- $ch = curl_init($host_string); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_URL, $host_string); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt($ch, CURLOPT_SSLCERT, $cert); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); curl_setopt($ch, CURLOPT_REFERER, $curl_ref); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); curl_close($ch); Expected result: ---------------- var $result should either return Array of data or error. Actual result: -------------- $result returns nothing, script dies after curl_exec(). Even die() or echo commands written beneath curl_exec() do not show up. Possible PHP crash? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35126&edit=1