diff --git a/chapters/config.xml b/chapters/config.xml index 4140dabb44..1fef27c793 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Configuration @@ -70,8 +70,8 @@ include_path = ".;c:\php\lib" When using PHP as an Apache module, you can also change the configuration settings using directives in Apache configuration - files (e.g. httpd.conf) and - .htaccess files (You will need + files (e.g. &httpd.conf;) and + &htaccess; files (You will need "AllowOverride Options" or "AllowOverride All" privileges) @@ -137,9 +137,9 @@ php_value auto_prepend_file none Sets the value of the specified directive. - This can NOT be used in .htaccess files. + This can NOT be used in &htaccess; files. Any directive type set with php_admin_value - can not be overridden by .htaccess or virtualhost directives. + can not be overridden by &htaccess; or virtualhost directives. To clear a previously set value use none as the value. @@ -160,9 +160,9 @@ php_admin_value open_basedir none Used to set a Boolean configuration directive. - This can NOT be used in .htaccess files. + This can NOT be used in &htaccess; files. Any directive type set with php_admin_flag - can not be overridden by .htaccess or virtualhost directives. + can not be overridden by &htaccess; or virtualhost directives. @@ -188,7 +188,7 @@ php_admin_value open_basedir none PHP constants do not exist outside of PHP. For example, in - httpd.conf you can 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 @@ -228,15 +228,15 @@ php_admin_value open_basedir none PHP_INI_PERDIR 2 - Entry can be set in &php.ini;, .htaccess or - 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 + Entry can be set in &php.ini; or &httpd.conf; @@ -692,8 +692,8 @@ php_admin_value open_basedir none Please note that register_globals cannot be set at runtime (ini_set). Although, you can - use .htaccess if your host allows it as described - above. An example .htaccess entry: + use &htaccess; if your host allows it as described + above. An example &htaccess; entry: php_flag register_globals on. diff --git a/chapters/install.apache2.xml b/chapters/install.apache2.xml index d4a84d224c..781d92f506 100644 --- a/chapters/install.apache2.xml +++ b/chapters/install.apache2.xml @@ -1,5 +1,5 @@ - + Servers-Apache 2.0 @@ -186,7 +186,7 @@ There are two ways to set up PHP to work with Apache 2.0 on Windows. One is to use the CGI binary the other is to use the Apache module DLL. In either case you need to stop the Apache - server, and edit your httpd.conf to configure Apache + server, and edit your &httpd.conf; to configure Apache to work with PHP.