<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>New Directives</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration5.functions.html">New Functions</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration5.databases.html">Databases</a></div> <div class="up"><a href="migration5.html">Migrating from PHP 4 to PHP 5.0.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="migration5.newconf" class="section"> <h2 class="title">New Directives</h2> <p class="para"> There were some new <var class="filename">php.ini</var> directives introduced in PHP 5. Here is a list of them: </p> <ul class="itemizedlist"> <li class="listitem"> <span class="simpara"> mail.force_extra_parameters - Force the addition of the specified parameters to be passed as extra parameters to the sendmail binary. These parameters will always replace the value of the 5th parameter to <span class="function"><a href="function.mail.html" class="function">mail()</a></span>, even in safe mode </span> </li> <li class="listitem"> <span class="simpara"> <a href="ini.core.html#ini.register-long-arrays" class="link">register_long_arrays</a> - allow/disallow PHP to register the deprecated long <var class="varname"><var class="varname">$HTTP_*_VARS</var></var> </span> </li> <li class="listitem"> <span class="simpara"> <a href="session.configuration.html#ini.session.hash-function" class="link">session.hash_function</a> - select a hash function (MD5 or SHA-1) </span> </li> <li class="listitem"> <span class="simpara"> <a href="session.configuration.html#ini.session.hash-bits-per-character" class="link">session.hash_bits_per_character</a> - define how many bits are stored in each character when converting the binary hash data to something readable (from 4 to 6) </span> </li> <li class="listitem"> <span class="simpara"> <a href="ini.core.html#ini.zend.ze1-compatibility-mode" class="link">zend.ze1_compatibility_mode</a> - Enable compatibility mode with Zend Engine 1 (PHP 4) </span> </li> </ul> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration5.functions.html">New Functions</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration5.databases.html">Databases</a></div> <div class="up"><a href="migration5.html">Migrating from PHP 4 to PHP 5.0.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>