|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-06-29 08:36 UTC] jani@php.net
[2009-06-29 17:56 UTC] michael dot l at zend dot com
[2009-06-29 19:59 UTC] pajoye@php.net
[2009-07-07 01:00 UTC] php-bugs at lists dot php dot net
[2010-08-28 14:44 UTC] avi-phpbugs at dreamingking dot com
[2010-08-28 14:55 UTC] pajoye@php.net
-Status: No Feedback
+Status: Feedback
[2010-08-28 14:55 UTC] pajoye@php.net
[2010-08-28 15:19 UTC] pajoye@php.net
[2010-08-28 15:19 UTC] pajoye@php.net
-Package: Reproducible crash
+Package: IMAP related
[2013-02-18 00:33 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 17:00:01 2025 UTC |
Description: ------------ The following code is crashing the PHP engine (php-cli,php-cgi) when working on Linux OS. Also tried via Microsoft FastCGI wrapper and IIS (IIS-6 and IIS-7). On Linux OS its working ok. In order to reproduce, create a new Gmail account, login and enable IMAP service, then, use the code below. Reproduce code: --------------- <?php $connectionString ='{imap.gmail.com/imap/ssl/novalidate-cert/user=USER_NAME@gmail.com}INBOX'; $messageStream = imap_open ($connectionString, 'USER_NAME@gmail.com', 'PASSWORD'); $boxInfo = imap_check($messageStream); for ($messageNumber = 1; $messageNumber <= $boxInfo->Nmsgs; $messageNumber++) { $headerInfo = imap_header($messageStream, $messageNumber); var_export($headerInfo); } Expected result: ---------------- You should get the list of your emails. Actual result: -------------- Crash of PHP/FastCGI.