Changes to INI file handling
PHP 5.3.0 has significantly improved performance and parsing of INI files, and adds several new syntax features.
- The standard php.ini files have been re-organized and renamed. php.ini-development contains settings recommded for use in development environments. php.ini-production contains settings recommended for use in production environments.
- There is now support for two special sections: [PATH=/opt/httpd/www.example.com/] and [HOST=www.example.com]. Directives set in these sections cannot be overridden by user-defined INI files or at runtime. More information about these sections can be found here.
- zend_extension_debug, zend_extension_debug_ts and zend_extension_ts have been removed. Use the zend_extension directive to load all Zend Extensions.
-
zend.ze1_compatibility_mode
has been removed. If this INI directive is set to On, an
E_ERROR
error is emitted at startup. - It is now possible to use the full path to load modules using the extension directive.
- "ini-variables" can now be used almost anywhere in a php.ini file.
- open_basedir restrictions may now be tighted at runtime, and the directive is now PHP_INI_ALL.
- It is now possible to use alphanumeric or variable indices in INI option arrays.
- get_cfg_var() is now able to return "array" INI options.
- Two new mail directives: mail.add_x_header and mail.log, have been added.
The following new ini directives have been added:
- user_ini.filename and user_ini.cache_ttl have been added to control the use of user INI files.
- exit_on_timeout has been added to force Apache 1.x children to exit if a PHP execution timeout occurs.
- Added mbstring.http_output_conv_mimetype. This directive specifies the regex pattern of content types for which mb_output_handler() is activated.
- Added request_order. Allows controlling which external variables will be available in $_REQUEST.
The following ini directives have new default values:
- session.use_only_cookies is now set to "1" (enabled) by default.
- oci8.default_prefetch has changed from "10" to "100".
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-migration53.ini.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.