php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46862 Upload and post limits
Submitted: 2008-12-14 13:44 UTC Modified: 2008-12-26 01:00 UTC
Votes:3
Avg. Score:3.0 ± 1.6
Reproduced:0 of 3 (0.0%)
From: alp3r at msn dot com Assigned:
Status: No Feedback Package: PHP options/info functions
PHP Version: 5.2.8 OS: CENTOS Enterprise 4.7 i686
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: alp3r at msn dot com
New email:
PHP Version: OS:

 

 [2008-12-14 13:44 UTC] alp3r at msn dot com
Description:
------------
I changed my dedicated server.
In the old one, php version was 5.2.5 and the new one, it's 5.2.8.
I had to change the php.ini (/usr/local/lib/php.ini) file.
I change safe mode to on from off, memory limit to 100M, post_max_size to 100M from 8M, upload_max_filesize to 100M from 2M. And i restarted the apache.
And then, when i look to phpinfo, i saw it look like this;
safe mode = on. (It's ok.)
memory limit = 100M. (It's ok.)
post_max_size = 8M (It's wrong! I changed it to 100M)
upload_max_filesize = 2M (It's wrong! I changed it to 100M too)

Is there any bug about php 5.2.8? Or how can i fix this problem?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-16 18:08 UTC] jani@php.net
First of all, check in phpinfo() output that the correct php.ini file is loaded (if any!). This information can be found in the very first lines in the output: "Loaded Configuration File"
 [2008-12-17 09:06 UTC] alp3r at msn dot com
I checked it; it's "/usr/local/lib/php.ini".
Anyway, i've already worked on this file.
The problem is not this.
 [2008-12-17 11:45 UTC] jani@php.net
What _exactly_ are the lines defining those directives in that ini file? Are you running under Apache? Are there any php_value / php_flag or such in either httpd.conf or in _any_ .htaccess file in your system?
 [2008-12-17 12:29 UTC] alp3r at msn dot com
Lines are:
"post_max_size = 100M
upload_max_filesize = 100M
memory_limit = 100M" 
in php.ini.
///\\\
Yes, i'm running on Apache. 
Version is:
Apache Version 	Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
Apache API Version 	20051115
///\\\
There are no php_value or flag in .htaccess or httpd.conf.
I'm creating a new host account (normally new .htaccess file), and trying to get phpinfo() in new account, the result is same as the others. I think, it's not a .htaccess problem.
 [2008-12-18 15:06 UTC] jani@php.net
Delete the whole php.ini file, copy one from the distribution package (either php.ini-dist or php.ini-recommended to php.ini) and change the values again. And double check ALL .htaccess files and httpd.conf (and includes in it!) for any php_* settings. I can not reproduce this with clean and properly installed system. 
 [2008-12-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 08:01:35 2025 UTC