#46862 [Fbk->Opn]: Upload and post limits
| From: | alp3r at msn dot com | Date: | Wed, 17 Dec 2008 12:30:00 +0000 |
| Subject: | #46862 [Fbk->Opn]: Upload and post limits | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132083@lists.php.net to get a copy of this message | ||
ID: 46862
User updated by: alp3r at msn dot com
Reported By: alp3r at msn dot com
-Status: Feedback
+Status: Open
Bug Type: PHP options/info functions
Operating System: CENTOS Enterprise 4.7 i686
PHP Version: 5.2.8
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2008-12-17 11:45:26] 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 09:06:40] 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-16 18:08:49] 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-14 13:44:06] 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?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46862&edit=1