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
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: 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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 02:01:29 2024 UTC