|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60998 Apache crashes on 4096 bytes PHP scripts
Submitted: 2012-02-07 07:16 UTC Modified: 2012-02-07 10:42 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bug at weezo dot net Assigned: dmitry (profile)
Status: Duplicate Package: Apache2 related
PHP Version: 5.3.10 OS: Win32
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bug at weezo dot net
New email:
PHP Version: OS:


 [2012-02-07 07:16 UTC] bug at weezo dot net
Apache server systematically crashes when a 4096 bytes PHP script is called (either directly or included by another PHP script). 

Bug is also present higher power of 2 file sizes.
Everything works fine with CLI.

Tested on Win XP & Win 7, with 3 different 32bytes apache/PHP env (wampserver env, php 5.3.10 from, self compiled PHP with apachelounge apache version), and a 64bytes version of apache/PHP.

Test script:
Any 4096 bytes script.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-07 09:07 UTC]
Lexer issue is back. Or was it not applied before 5.3.9? As 5.3.10 was released 
based on 5.3.9 only?
 [2012-02-07 09:07 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: dmitry
 [2012-02-07 10:42 UTC]
It is already fixed in SVN.

The fix for this lexer bug was applied to 5.3 after 5.3.9. This issue was not back 
ported to 5.3.10, which was 5.3.9 with only the fix for a critical issue.

Thanks for your report!
 [2012-02-07 10:42 UTC]
-Status: Assigned +Status: Duplicate
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed May 18 02:03:40 2022 UTC