array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'configuration.changes.modes.php', 1 => 'Where a configuration setting may be set', ), 'up' => array ( 0 => 'configuration.php', 1 => 'Runtime Configuration', ), 'prev' => array ( 0 => 'configuration.file.per-user.php', 1 => '.user.ini files', ), 'next' => array ( 0 => 'configuration.changes.php', 1 => 'How to change configuration settings', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'install/ini.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
These modes determine when and where a PHP directive may or may not be set, and each directive within the manual refers to one of these modes. For example, some settings may be set within a PHP script using ini_set(), whereas others may require php.ini or httpd.conf.
For example, the
output_buffering setting
is INI_PERDIR
therefore it may not be set using
ini_set(). However, the
display_errors directive is
INI_ALL
therefore it may be set anywhere,
including with ini_set().
Constants | Description |
---|---|
INI_USER
(int)
|
Entry can be set in user scripts (like with ini_set()) or in the Windows registry. Entry can be set in .user.ini |
INI_PERDIR
(int)
|
Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini |
INI_SYSTEM
(int)
|
Entry can be set in php.ini or httpd.conf |
INI_ALL
(int)
|
Entry can be set anywhere |