downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/migration5.newconf.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/migration5.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'migration5.newconf.php',
   
1 => 'New Directives',
  ),
 
'up' =>
  array (
   
0 => 'migration5.php',
   
1 => 'Migrating from PHP 4 to PHP 5.0.x',
  ),
 
'prev' =>
  array (
   
0 => 'migration5.functions.php',
   
1 => 'New Functions',
  ),
 
'next' =>
  array (
   
0 => 'migration5.databases.php',
   
1 => 'Databases',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<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
      <a href="function.mail.php" class="function">mail()</a>, even in safe mode
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <a href="ini.core.php#ini.register-long-arrays" class="link">register_long_arrays</a> -
      allow/disallow PHP to register the deprecated long <var class="varname">$HTTP_*_VARS</var>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <a href="session.configuration.php#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.php#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.php#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><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites