Changes to INI file handling
PHP 5.3.0 have significantly improved performance, parsing and
new features syntax features.
-
The standard php.ini files have been re-organized, and renamed.
php.ini-development have settings thats recommded
for use in a development environments. php.ini-production
is configured to production environments.
-
There is now support for 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 and zend_extension_ts
have been removed. Instead 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, then an E_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.
-
Runtime tightening of open_basedir restrictions is now possible.
-
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.
The following new ini directives have been added:
-
user_ini.filename and user_ini.cache_ttl
for the new user initialization mechanism.
-
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 exactly request options should be available in
$_REQUEST.
The following ini directives have changed default value:
-
session.use_only_cookies is now set to
"1" (enabled) by default.
-
oci8.default_prefetch has changed from
"10" to "100".