#35126 [NEW]: v 4.4.0-4 cURL Problem
| From: | mike at phpeeb dot com | Date: | Sun, 06 Nov 2005 14:59:42 +0000 |
| Subject: | #35126 [NEW]: v 4.4.0-4 cURL Problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-87689@lists.php.net to get a copy of this message | ||
From: mike at phpeeb dot com
Operating system: Unix
PHP version: 4.4.1
PHP Bug Type: cURL related
Bug description: v 4.4.0-4 cURL Problem
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 bug report at http://bugs.php.net/?id=35126&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35126&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35126&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35126&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35126&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35126&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35126&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35126&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35126&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35126&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35126&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35126&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35126&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35126&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35126&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35126&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35126&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35126&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35126&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35126&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35126&r=mysqlcfg