diff --git a/chapters/config.xml b/chapters/config.xml index 66c5569cd4..cda35fa323 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Configuration @@ -83,8 +83,8 @@ include_path = ".;c:\php\lib" With PHP 4.0, there are several Apache directives that allow you - to change the PHP configuration from within the Apache - configuration file itself. + to change the PHP configuration from within the Apache configuration + files. @@ -94,7 +94,9 @@ include_path = ".;c:\php\lib" - This sets the value of the specified variable. + Sets the value of the specified directive. + Can be used only with PHP_INI_ALL and PHP_INI_PERDIR type directives. + @@ -105,7 +107,9 @@ include_path = ".;c:\php\lib" - This is used to set a Boolean configuration option. + Used to set a Boolean configuration directive. + Can be used only with PHP_INI_ALL and PHP_INI_PERDIR type directives. + @@ -116,10 +120,10 @@ include_path = ".;c:\php\lib" - This sets the value of the specified variable. "Admin" - configuration settings can only be set from within the - main Apache configuration files, and not from - .htaccess files. + Sets the value of the specified directive. + This can NOT be used .htaccess files. + Any directive type set with php_admin_value + can not be overridden in .htaccess files. @@ -131,7 +135,10 @@ include_path = ".;c:\php\lib" - This is used to set a Boolean configuration option. + Used to set a Boolean configuration directive. + This can NOT be used in .htaccess files. + Any directive type set with php_admin_flag + can not be overridden in .htaccess files. @@ -157,7 +164,7 @@ include_path = ".;c:\php\lib" PHP constants do not exist outside of PHP. For example, in - httpd.conf do not use PHP constants + httpd.conf you can not use PHP constants such as E_ALL or E_NOTICE to set the error_reporting directive as they will have no meaning and will evaluate to @@ -197,17 +204,15 @@ include_path = ".;c:\php\lib" PHP_INI_PERDIR 2 - Entry can be set in .htaccess and VHost - directives in httpd.conf. + Entry can be set in &php.ini, .htaccess or + httpd.conf PHP_INI_SYSTEM 4 - Entry can be set in &php.ini; or - httpd.conf (but not in VHost blocks in - httpd.conf). + Entry can be set in &php.ini; or httpd.conf @@ -222,7 +227,7 @@ include_path = ".;c:\php\lib" You can view the settings of the configuration values in the output of phpinfo. You can also - access the values of individual configuration settings using + access the values of individual configuration directives using ini_get or get_cfg_var. diff --git a/reference/info/functions/ini-set.xml b/reference/info/functions/ini-set.xml index d3609d1692..91713d5cb8 100644 --- a/reference/info/functions/ini-set.xml +++ b/reference/info/functions/ini-set.xml @@ -1,5 +1,5 @@ - + @@ -1232,17 +1232,15 @@ PHP_INI_PERDIR 2 - Entry can be set in .htaccess and VHost - directives in httpd.conf. + Entry can be set in &php.ini, .htaccess or + httpd.conf PHP_INI_SYSTEM 4 - Entry can be set in &php.ini; or - httpd.conf (but not in VHost blocks in - httpd.conf). + Entry can be set in &php.ini; or httpd.conf