#45230 [Opn->Fbk]: upload_max_filesize ignored
| From: | jani@php.net | Date: | Tue, 10 Jun 2008 23:31:46 +0000 |
| Subject: | #45230 [Opn->Fbk]: upload_max_filesize ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125660@lists.php.net to get a copy of this message | ||
ID: 45230
Updated by: jani@php.net
Reported By: rcable at sciotowireless dot net
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: Linux
PHP Version: 5.2.6
New Comment:
Works fine for me. Check from the phpinfo() output that the php.ini
file you're editing is actually used by PHP..
Previous Comments:
------------------------------------------------------------------------
[2008-06-10 17:39:09] rcable at sciotowireless dot net
Description:
------------
I'm trying to do a file upload in php with a webform.
I've set my max filesize to 8192000.
I've modified php.ini
max_execution_time = 60
max_input_time = 120
memory_limit = 128M
post_max_size = 12M
upload_max_filesize = 8M
I cannot send a file larger than 2M up to the server.
And when I run phpinfo() it always shows 2M as the
upload_max_filesize.
I've also tried ini_set("upload_max_filesize","8192000") to no avail.
The files I'm trying to upload are about 3M so I have quite a bit of
headroom with that 8192000 value.
Reproduce code:
---------------
There is no need for source code that I can see as it's a phpinfo()
that is showing me where the problem is and no matter what I set
upload_max_filesize to, it will not work.
None of the solutions on old bug reports have helped, and since this is
the latest edition I guess I'm the first one to report that this isn't
fixed with the new release.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45230&edit=1