php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51110 POST Content Length Tosses Error In Apache Folder
Submitted: 2010-02-22 08:23 UTC Modified: 2010-02-22 17:11 UTC
From: EHCanadian83 at Hotmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.12 OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: EHCanadian83 at Hotmail dot com
New email:
PHP Version: OS:

 

 [2010-02-22 08:23 UTC] EHCanadian83 at Hotmail dot com
Description:
------------
When hitting the max upload value on a html form post the error log is thrown into the root/install folder of apache and the page fails to populate array data for the $_POST & $_FILES



Reproduce code:
---------------
C:\Data\Apache\
C:\Data\PHP\

upload_max_filesize = 2M
post_max_size = 1M
error_log = php-error.log

LoadModule php5_module "../PHP/php5apache2_2.dll"

Upload a file greater then post_max_size

Expected result:
----------------
White page and a error log in the C:\Data\Apache\php-error.log file with the result PHP Warning:  POST Content-Length of 1286333 bytes exceeds the limit of 1048576 bytes in Unknown on line 0


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-22 10:23 UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 [2010-02-22 17:11 UTC] EHCanadian83 at Hotmail dot com
So its not a bug when the php-error.log normally is placed in C:\Data\Localhost\public_html\php-error.log ?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 21 04:00:02 2025 UTC