#22158 [Opn->Ana]: "8M" isn't and integer is it ?

From: Date: Tue, 11 Feb 2003 01:28:03 +0000
Subject: #22158 [Opn->Ana]: "8M" isn't and integer is it ?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351718@lists.php.net to get a copy of this message
ID: 22158 Updated by: sniper@php.net Reported By: greg@getnetez.com -Status: Open +Status: Analyzed -Bug Type: *Configuration Issues +Bug Type: Documentation problem Operating System: Red Hat 8.0 PHP Version: 4.2.2 New Comment: This needs a bit clarifying in the docs.. M (or K) can only be used in php.ini file. In .htaccess / httpd.conf you have to use plain integer for the bytes. Previous Comments: ------------------------------------------------------------------------ [2003-02-10 18:52:52] greg@getnetez.com First off, I think you guys are great and I would be at a loss without you.... so many-many thanks.... But..... while troubleshooting a file upload issue with imp (standard thing reported many times in a number of different varieties upload_max_filesize ignored and the likewise post_max_size ignored and even memory_limit doesn't matter) I first looked to my php.ini and started adjusting these settings to no avail. My actual problem was a gem of a file httpd/conf.d/php.conf which contained -- <Files *.php> SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 524288 </Files> the cause of my httpd/errorlog file noting... "Requested content-length of 2172475 is larger than the configured limit of 524288" --> that's what I get for Red Hat RPMs instead of real files.... Anyway.... the possible "bug" is that the documentation specifically states that all three of these configuration directives are of type integer and the default is "8M"... it seems to me that should be 8000000 if the unit is bytes. And, even the units of the directive is a bit unclear and should be clearly stated, I think. Thanks for your patience and good work.... and if this isn't in line... well I fixed my problem so I'm still thrilled with you folks. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22158&edit=1

« previous php.doc (#969351718) next »