|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-08 00:26 UTC] kalowsky@php.net
[2003-04-08 01:09 UTC] charlesb at ekit-inc dot com
[2003-04-08 15:31 UTC] sniper@php.net
[2003-04-21 09:21 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 08:00:01 2025 UTC |
This is very hard to pin down as (a) there is no error log produced and (b) it does not occur when the server load is small (thus setting up a standalone server with gd doesn't provide anything useful). In a nutshell, the following code crashes apache when there are a large number of messages in the inbox (1000-3000, depending on the server load). There is nothing in the error logs to help, the browser just gives an "unable to locate server" error. $stream = imap_reopen($imp->stream, '{' . "$imp->server:$imp->port". '}' . $preamble . $mboxes[$i], OP_READONLY); $MC=imap_check($imp->stream); $MN=$MC->Nmsgs; $overview=imap_fetch_overview($imp->stream,"1:$MN",0);