Bug #18392: imap functions stop working correctly when curl compiled in

From: Date: Wed, 17 Jul 2002 13:49:06 +0000
Subject: Bug #18392: imap functions stop working correctly when curl compiled in
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14405@lists.php.net to get a copy of this message
From: manu@php.net Operating system: sun solaris 2.6 PHP version: 4.2.1 PHP Bug Type: IMAP related Bug description: imap functions stop working correctly when curl compiled in The following script is working just as expected when php is compiled --with-imap : It displays "conn ok" + a number. But when php is compiled --with-curl as well, the script displays "conn ok" + "empty". There's no error nor warning. Config : ./configure --enable-ucd-snmp-hack --with-apache=../apache_1.3.26 --enable-bcmath --enable-calendar --enable-ftp --with-gd=/usr/local/gd1.2 --with-imap=../imap-2001a --with-mysql=/usr/local/mysql --with-snmp --enable-inline-optimization --enable-memory-limit --with-zlib --with-curl The librairies used are : imap-2001a : make gso curl-7.9.8 : configure --with-ssl -------------- <?php $server="imap.server.net"; if ( $mbox = imap_open ("{".$server.":143}INBOX", "email@server.net", "pass")) { echo "conn ok<br>"; $headers = imap_headers ($mbox); if ($headers == false){ echo "Empty<br>"; } else{ $size=sizeof($headers); echo "$size"; } imap_close($mbox); } ?> -- Edit bug report at http://bugs.php.net/?id=18392&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18392&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18392&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18392&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18392&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18392&r=support Expected behavior: http://bugs.php.net/fix.php?id=18392&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18392&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18392&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18392&r=globals

« previous php.bugs (#14405) next »