php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10888 upload_max_filesize, post_max_size ignored in php.ini
Submitted: 2001-05-15 16:24 UTC Modified: 2001-05-23 05:07 UTC
From: tswan at olemiss dot edu Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.5 OS: Linux (RH 6.2/2.2.14) Apache 1.3
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tswan at olemiss dot edu
New email:
PHP Version: OS:

 

 [2001-05-15 16:24 UTC] tswan at olemiss dot edu
Uploading a file larger that 2M fails consistently. 

Changing the php.ini values of upload_max_filesize and post_max_size had no effect.

I tried settings these values using both Human terms and raw numbers (32M vs. some nasty number) with no resolution either.

However, once I changed the default values in main/main.c lines 240 and 242 from 2M to 32M, this behavoir was resolved.

Please fix!!! :-)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-23 01:49 UTC] sniper@php.net
Are you sure your php.ini file is ever read?
Where is it located in your system?

--Jani

 [2001-05-23 05:07 UTC] tswan at olemiss dot edu
User error...

php.ini was in /etc/httpd and --with-config-file-path was
not set during compile.

 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 16:05:48 2023 UTC