From: [EMAIL PROTECTED] Operating system: MacOS 10.1 PHP version: 4.1.1 PHP Bug Type: cURL related Bug description: multiple calls on handle not allowed
I recently upgraded a Mac server and am getting errors in a previously working cURL application. The problem is that I'm doing multiple curl_exec calls on a cURL handle without calling curl_close and reinitializing the handle each time. The error message: Warning: Multiple executions on the same handle are not currently supported, please upgrade to the next version of PHP in /smalldog/sites/checkout.smalldog.com/ups/ups_util.php on line 244 As I had just upgraded to the latest version of PHP, the error message sounded fishy. Anyhow, it's easy enough to code around, but it's not documented as being required. Should this be a code or documentation fix? Rene Version info. The older server is: PHP Version 4.0.5 System Darwin fantail.smalldog.com 5.1 Darwin Kernel Version 5.1: Tue Oct 30 00:06:34 PST 2001; root:xnu/xnu-201.5.obj~1/RELEASE_PPC Power Macintosh powerpc Build Date Dec 18 2001 Configure Command './configure' '--with-mysql' '--with-curl=../curl-7.8' '--with-apache=../apache_1.3.19' '--enable-track-vars' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib ZEND_DEBUG disabled Thread Safety disabled The new server is: PHP Version 4.1.1 System Darwin localhost 5.2 Darwin Kernel Version 5.2: Fri Dec 7 21:39:35 PST 2001; root:xnu/xnu-201.14.obj~1/RELEASE_PPC Power Macintosh powerpc Build Date Jan 16 2002 Configure Command './configure' '--with-mysql' '--with-curl=../curl-7.9.2' '--with-apache=../apache_1.3.22' '--enable-track-vars' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib ZEND_DEBUG disabled Thread Safety disabled -- Edit bug report at http://bugs.php.net/?id=15544&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15544&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15544&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15544&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15544&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15544&r=support Expected behavior: http://bugs.php.net/fix.php?id=15544&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15544&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15544&r=submittedtwice