<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >New Directives</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="Migrating from PHP 4 to PHP 5" HREF="migration5.html"><LINK REL="PREVIOUS" TITLE="New Functions" HREF="migration5.functions.html"><LINK REL="NEXT" TITLE="Databases" HREF="migration5.databases.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="section" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="migration5.functions.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Apêndice C. Migrating from PHP 4 to PHP 5</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="migration5.databases.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="migration5.newconf" >New Directives</A ></H1 ><P > There were some new <TT CLASS="filename" >php.ini</TT > directives introduced in PHP 5. Here is a list of them: </P ><P ></P ><UL ><LI ><P > 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 <A HREF="function.mail.html" ><B CLASS="function" >mail()</B ></A >, even in safe mode </P ></LI ><LI ><P > <A HREF="ini.core.html#ini.register-long-arrays" >register_long_arrays</A > - allow/disallow PHP to register the deprecated long $HTTP_*_VARS </P ></LI ><LI ><P > <A HREF="ref.session.html#ini.session.hash-function" >session.hash_function</A > - select a hash function (MD5 or SHA-1) </P ></LI ><LI ><P > <A HREF="ref.session.html#ini.session.hash-bits-per-character" >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) </P ></LI ><LI ><P > <A HREF="ini.core.html#ini.zend.ze1-compatibility-mode" >zend.ze1_compatibility_mode</A > - Enable compatibility mode with Zend Engine 1 (PHP 4) </P ></LI ></UL ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="migration5.functions.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="migration5.databases.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >New Functions</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="migration5.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Databases</TD ></TR ></TABLE ></DIV ></BODY ></HTML >