#20871 [Fbk->Opn]: Apache restarts with no output
| From: | ctocopok at fond-darina dot ru | Date: | Wed, 11 Dec 2002 11:48:22 +0000 |
| Subject: | #20871 [Fbk->Opn]: Apache restarts with no output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27334@lists.php.net to get a copy of this message | ||
ID: 20871
User updated by: ctocopok@fond-darina.ru
Reported By: ctocopok@fond-darina.ru
-Status: Feedback
+Status: Open
Bug Type: IMAP related
Operating System: win2K
PHP Version: 4.3.0-dev
New Comment:
<?
$port="110";
$server="localhost";
$uname="test";
$passw="1234";
phpinfo(); //to start the output
$mbox = imap_open ("{".$server.":".$port."/pop3}INBOX",
"$uname",
"$passw");
echo imap_last_error()."<br>";
$totmsg=imap_num_msg($mbox); //still works
if ($totmsg>0) echo "some messages found<br>";
$headers=imap_search($mbox, "FROM @", 0);//fails
$headers=imap_headers($mbox);//fails
//any of above would 'crash'.
if (is_array($headers))echo "Total messages found:
".count($headers)."/$totmsg<br>";
?>
Previous Comments:
------------------------------------------------------------------------
[2002-12-11 05:14:11] sniper@php.net
Please provide a short, complete and self-contained example
script which can be used to reproduce this.
------------------------------------------------------------------------
[2002-12-11 04:22:02] ctocopok@fond-darina.ru
I'd be glad to know if any measures are being taken in order to fix the
buggie.
I hope that you at least succeeded reproduction of the bug.
------------------------------------------------------------------------
[2002-12-06 20:38:06] ctocopok@fond-darina.ru
Latest snapshot did not help. Actually, i fount the better place to
"breakpoint" - I did comment out the line containing
"$headers=imap_search($mbox, "FROM @");"
*perhaps* that is the point where a crash(?) occures.
------------------------------------------------------------------------
[2002-12-06 20:25:45] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-12-06 20:10:23] ctocopok@fond-darina.ru
test script could be reached at http://decmon.fond-darina.ru/mail.php
and http://decmon.fond-darina.ru/mail.php?phpinfo=1
the latter one will start producing phpinfo() report (I added "if
(isset($phpinfo))phpinfo();" line to the beginning of the script
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20871
--
Edit this bug report at http://bugs.php.net/?id=20871&edit=1