PHP: Hypertext Preprocessor (original) (raw)
Where a configuration setting may be set
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 requirephp.ini or httpd.conf.
For example, theoutput_buffering setting is [INI_PERDIR](info.constants.php#constant.ini-perdir)
therefore it may not be set usingini_set(). However, thedisplay_errors directive is**[INI_ALL](info.constants.php#constant.ini-all)
** therefore it may be set anywhere, including with ini_set().
INI mode constants
[INI_USER](info.constants.php#constant.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](info.constants.php#constant.ini-perdir)
(int)
Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini
[INI_SYSTEM](info.constants.php#constant.ini-system)
(int)
Entry can be set in php.ini or httpd.conf
[INI_ALL](info.constants.php#constant.ini-all)
(int)
Entry can be set anywhere
Found A Problem?
There are no user contributed notes for this page.