From:             pumuckel at metropolis dot de
Operating system: Linux
PHP version:      5.0.4
PHP Bug Type:     *Configuration Issues
Bug description:  php_post_max value shown but ignored

Description:
------------
The value set in php.ini (and in httpd.conf rule for virtual host) is set
(and shown in phpinfo()!) but it is ignored. We are trying to upload a 2M
file and get an error message:
[20-Jul-2005 10:19:55] PHP Warning:  POST Content-Length of 2526325 bytes
exceeds the limit of 1048576 bytes in Unknown on line 0

php_max_size and upload_max_filesize both are set to 8M

Also memory_limit is set to this value.
Setting those values to 8388608 does not help neither.

We do not have any ini flag set to 1M (or 1048576)

This behaviour can be reproduced here with older 5.0.5-dev, actual
5.0.5-dev and actual 5.1 snap.

Reproduce code:
---------------
Try to upload a file bigger than 1048576 bytes.

Expected result:
----------------
It should not stop the upload with above message.


-- 
Edit bug report at http://bugs.php.net/?id=33783&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33783&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33783&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33783&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33783&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33783&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33783&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33783&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33783&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33783&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33783&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33783&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33783&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33783&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33783&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33783&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33783&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33783&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33783&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33783&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33783&r=mysqlcfg

Reply via email to