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/migration53.ini.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/migration53.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'migration53.ini.php',
   
1 => 'Changes to INI file handling',
  ),
 
'up' =>
  array (
   
0 => 'migration53.php',
   
1 => 'Migrating from PHP 5.2.x to PHP 5.3.x',
  ),
 
'prev' =>
  array (
   
0 => 'migration53.global-constants.php',
   
1 => 'New Global Constants',
  ),
 
'next' =>
  array (
   
0 => 'migration53.other.php',
   
1 => 'Other changes',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="migration53.ini" class="section">
  <h2 class="title">Changes to INI file handling</h2>
  <p class="simpara">
   PHP 5.3.0 has significantly improved performance and parsing of INI files,
   and adds several new syntax features.
  </p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     The standard <var class="filename">php.ini</var> files have been re-organized and renamed.
     <i>php.ini-development</i> contains settings recommded
     for use in development environments. <i>php.ini-production</i>
     contains settings recommended for use in production environments.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     There is now support for two special sections:
     <i>[PATH=/opt/httpd/www.example.com/]</i> and
     <i>[HOST=www.example.com]</i>. Directives set in these
     sections cannot be overridden by user-defined INI files or at
     runtime. More information about these sections can be found
     <a href="ini.sections.php" class="link">here</a>.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <i>zend_extension_debug</i> and
     <i>zend_extension_ts</i> have been removed. Use the
     <i>zend_extension</i> directive to load all Zend Extensions.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <i>zend.ze1_compatibility_mode</i> has been removed. If this
     INI directive is set to On, an <b><tt class="constant">E_ERROR</tt></b> error is
     emitted at startup.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     It is now possible to use the full path to load modules using the
     &quot;<a href="ini.core.php#ini.extension" class="link"><i>extension</i></a>&quot;
     directive.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <i>&quot;ini-variables&quot;</i> can now be used almost anywhere in a
     <var class="filename">php.ini</var> file.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Runtime tightening of <i>open_basedir</i> restrictions is now
     possible.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     It is now possible to use alphanumeric or variable indices in INI option
     arrays.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <a href="function.get-cfg-var.php" class="function">get_cfg_var()</a> is now able to return &quot;array&quot; INI options.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     A new directive, mail.add_x_header, has been added.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     user_ini.filename is new
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     user_ini.cache_ttl is also new
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     exit_on_timeout is new too
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     open_basedir is now PHP_INI_ALL
    </span>
   </li>
  </ul>
  <p class="simpara">
   The following new ini directives have been added:
  </p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <i>user_ini.filename</i> and
     <i>user_ini.cache_ttl</i> for the new .htaccess-style user INI
     file mechanism.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Added <i>mbstring.http_output_conv_mimetype</i>.
     This directive specifies the regex pattern of content types for which
     <a href="function.mb-output-handler.php" class="function">mb_output_handler()</a> is activated.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Added <i>request_order</i>.
     Allows controlling which external variables will be available in
     <var class="varname"><a href="reserved.variables.request.php" class="classname">$_REQUEST</a></var>.
    </span>
   </li>
  </ul>
  <p class="simpara">
   The following ini directives have new default values:
  </p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <i>session.use_only_cookies</i> is now set to
     <i>&quot;1&quot;</i> (enabled) by default.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <i>oci8.default_prefetch</i> has changed from
     <i>&quot;10&quot;</i> to <i>&quot;100&quot;</i>.
    </span>
   </li>
  </ul>
 </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites