From:             rcable at sciotowireless dot net
Operating system: Linux
PHP version:      5.2.6
PHP Bug Type:     *General Issues
Bug description:  upload_max_filesize ignored

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 bug report at http://bugs.php.net/?id=45230&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45230&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45230&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45230&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45230&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45230&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45230&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45230&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45230&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45230&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45230&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45230&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45230&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45230&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45230&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45230&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45230&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45230&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45230&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45230&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45230&r=mysqlcfg

Reply via email to