PHP 4.0 Bug #7342 Updated: Different config-op parsing in php.ini and http.conf

From: Date: Wed, 10 Jan 2001 04:35:56 +0000
Subject: PHP 4.0 Bug #7342 Updated: Different config-op parsing in php.ini and http.conf
Groups: php.dev 
Request: Send a blank email to php-dev+get-43633@lists.php.net to get a copy of this message
ID: 7342 Updated by: david Reported By: volker@oops.mayn.de Old-Status: Open Status: Analyzed Old-Bug Type: PHP options/info functions Bug Type: Scripting Engine problem Assigned To: Comments: The same applies to the php function ini_set(). It looks like the onmodify entry is being not found/called from zend_alter_ini_entry and it's using the 'estrndup/value=duplicate' instead Previous Comments: --------------------------------------------------------------------------- [2000-10-19 11:20:06] volker@oops.mayn.de In php.ini for setting the upload_max_filesize one can use abbrevations for certain amounts of bytes (e.g. M for 'Megabytes'). The line upload_max_filesize = 15M means 15 * 1024 * 1024 Bytes are allowed. When using the php_value upload_max_filesize 15M directive in apache httpd.conf the 'M' modifyer is *NOT* used, leading to actually setting the max. file size for uploads to only 15 Bytes, not 15 MB. One has to use 15728640 (i.e. 15 * 1024^2) to set the value to 15 MB. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7342

« previous php.dev (#43633) next »