#29465 [NEW]: Imap not working with apache mpm-worker

From: Date: Sat, 31 Jul 2004 08:30:29 +0000
Subject: #29465 [NEW]: Imap not working with apache mpm-worker
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63831@lists.php.net to get a copy of this message
From: agabellini at intelcom dot sm Operating system: Solaris 8 PHP version: 4.3.8 PHP Bug Type: IMAP related Bug description: Imap not working with apache mpm-worker Description: ------------ Hi, imap extension doesn't work with apache2 (2.0.50) compiled with the option --with-mpm=worker. The same script works from the php cli or if apache2 is compiled with the default mpm-prefork. imap_open() doesn't try to open the connection and exit with the error reported immediatly. the same error appears if I try to connect to an imap server. Reproduce code: --------------- <? error_reporting(E_ALL); $mbox=imap_open("{mail.somedomain.com:110/pop3}INBOX", "username", "password"); if ($mbox) { print "OK\n"; imap_close($mbox); } else { print "ERROR\n"; } ?> Expected result: ---------------- The connection is right and I can see on the mail server the connection. Actual result: -------------- Warning: imap_open(): Couldn't open stream {mail.somedomain.com:110/pop3}INBOX in /disk1/servizi-abbonati/test.php on line 4 ERROR Notice: (null)(): Can't connect to mail.somedomain.com,110: Error 0 (errflg=2) in Unknown on line 0 -- Edit bug report at http://bugs.php.net/?id=29465&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29465&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29465&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29465&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29465&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29465&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29465&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29465&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29465&r=support Expected behavior: http://bugs.php.net/fix.php?id=29465&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29465&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29465&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29465&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29465&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29465&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29465&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29465&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29465&r=float

« previous php.bugs (#63831) next »