array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'configuration.changes.modes.php', 1 => 'Wo Konfigurationseinstellungen gesetzt werden können', ), 'up' => array ( 0 => 'configuration.php', 1 => 'Laufzeiteinstellungen', ), 'prev' => array ( 0 => 'configuration.file.per-user.php', 1 => '.user.ini-Dateien', ), 'next' => array ( 0 => 'configuration.changes.php', 1 => 'Wie man Konfigurationseinstellungen ändert', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'de', 'path' => 'install/ini.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
Diese Modi bestimmen wann und wo eine PHP-Direktive gesetzt oder nicht gesetzt werden kann. Jede Direktive im Handbuch verweist auf einen dieser Modi. Zum Beispiel können einige Einstellungen in einem PHP-Skript mittels ini_set() gesetzt werden, während andere nur über die php.ini oder httpd.conf gesetzt werden können.
Ein Beispiel ist die
output_buffering-Einstellung.
Wegen INI_PERDIR
kann sie nicht mittels
ini_set() gesetzt werden. Die
display_errors-Einstellung
hingegegen kann wegen INI_ALL
überall
gesetzt werden, also auch mittels ini_set().
Konstanten | Beschreibung |
---|---|
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 |