ID: 7342
Updated by: zeev
Reported By: [EMAIL PROTECTED]
Old-Status: Analyzed
Status: Closed
Bug Type: Scripting Engine problem
Operating system: 
PHP Version: 4.0.3pl1
Assigned To: 
Comments:

This is the intended behavior.  The special notations that are supported in php.ini 
are features of the php.ini parser, and thus, are not available in other configuration 
options, such as ini_set() or httpd.conf.

Previous Comments:
---------------------------------------------------------------------------

[2001-01-09 23:35:55] [EMAIL PROTECTED]
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

---------------------------------------------------------------------------

[2000-10-19 11:20:06] [EMAIL PROTECTED]
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.


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7342&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to