ID: 33783 Updated by: [EMAIL PROTECTED] Reported By: pumuckel at metropolis dot de -Status: Closed +Status: Bogus Bug Type: *General Issues Operating System: Linux PHP Version: 5CVS-2005-07-20 New Comment:
No bug -> bogus. Previous Comments: ------------------------------------------------------------------------ [2005-07-20 12:19:16] pumuckel at metropolis dot de Err... forget it. Error by user. The 1M value was hidden somewhere in location directive inside global webserver config... ------------------------------------------------------------------------ [2005-07-20 12:16:18] [EMAIL PROTECTED] Works fine for me. Remove all php ini settings from your httpd.conf and any other conf that might be include and set the sizes only in php.ini. (remember to restart Apache :) ------------------------------------------------------------------------ [2005-07-20 12:10:18] pumuckel at metropolis dot de 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 this bug report at http://bugs.php.net/?id=33783&edit=1
