B.7 New Configuration Directives

 <  Day Day Up  >  

Besides zend.ze1_compatibility_mode , PHP 5 has some new configuration directives:


mail.force_extra_parameters

Extra parameters to always pass to the sendmail program, such as -oi and -t . This setting overrides the options provided as the fifth argument of mail( ) . It defaults to the empty string.


register_long_arrays

Whether to register the deprecated input arrays, such as $HTTP_POST_VARS and $HTTP_GET_VARS , in addition to $_POST and $_GET . This should be enabled only for legacy code. This is set to On in php.ini-dist and to Off in php.ini-recommended .


session.hash_function

Sets the hash function used by the session module. A value of means use MD5, a 128-bit algorithm, and a value of 1 means use SHA-1, a 160-bit algorithm. It defaults to .


session.hash_bits_per_character

Sets the number of bits stored per character. Possible values are 4 , 5 , and 6 ; the default value is 4 .

 <  Day Day Up  >  


Upgrading to PHP 5
Upgrading to PHP 5
ISBN: 0596006365
EAN: 2147483647
Year: 2004
Pages: 144

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net