|  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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 04:01:31 2024 UTC