mfischer                Mon Jun 10 06:22:39 2002 EDT

  Modified files:              
    /phpdoc/en/chapters config.xml 
    /phpdoc/en/faq      installation.xml 
  Log:
  - Document the PHPRC variable and some other php.ini related additionas, closes 
#13777.
  
  
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.55 phpdoc/en/chapters/config.xml:1.56
--- phpdoc/en/chapters/config.xml:1.55  Mon May 27 12:52:49 2002
+++ phpdoc/en/chapters/config.xml       Mon Jun 10 06:22:39 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.55 $ -->
+<!-- $Revision: 1.56 $ -->
  <chapter id="configuration">
   <title>Configuration</title>
 
@@ -11,7 +11,19 @@
     PHP 3.0, and simply &php.ini; as of PHP 4.0)
     is read when PHP starts up. For the server module versions of PHP,
     this happens only once when the web server is started.  For the
-    <acronym>CGI</acronym> version, it happens on every invocation.</simpara>
+    <acronym>CGI</acronym> and <acronym>CLI</acronym> version, it happens on
+    every invocation.
+   </simpara>
+   <para>
+    The default location of &php.ini; is a compile time option (see the <link
+    linkend="faq.installation.phpini">FAQ</link> entry), but can be changed
+    for the <acronym>CGI</acronym> and <acronym>CLI</acronym> version with the
+    <literal>-c</literal> command line switch, see the chapter about using
+    <literal>PHP</literal> from the <link
+    linkend="features.commandline">command line</link>. You can also use the
+    environment variable <literal>PHPRC</literal> for an additionaly path to
+    search for &php.ini;.
+   </para>
    <para>
     <example>
      <title>&php.ini; example</title>
Index: phpdoc/en/faq/installation.xml
diff -u phpdoc/en/faq/installation.xml:1.16 phpdoc/en/faq/installation.xml:1.17
--- phpdoc/en/faq/installation.xml:1.16 Thu Mar 28 11:27:39 2002
+++ phpdoc/en/faq/installation.xml      Mon Jun 10 06:22:39 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
  <chapter id="faq.installation">
   <title>Installation</title>
   <titleabbrev>Installation</titleabbrev>
@@ -28,7 +28,8 @@
     </question>
     <answer>
      <para>
-      By default on UNIX it should be in <filename>/usr/local/lib</filename>. 
+      By default on UNIX it should be in <filename>/usr/local/lib</filename>
+      which is <filename>&lt;install-path&gt;/lib</filename>.
       Most people will want to change this at compile-time with the 
       <link 
linkend="install.configure.with-config-file-path">--with-config-file-path</link>
       flag. You would, for example, set it with something like:
@@ -41,7 +42,15 @@
      </para>
      <para>
       On Windows the default path for the &php.ini; file is the Windows
-      directory.
+      directory. If you're using the Apache webserver, &php.ini; is first
+      searched in the Apaches install directory, e.g. <filename>c:\program
+      files\apache group\apache</filename>. This way you can have
+      different &php.ini; files for different versions of Apache on the same
+      machine.
+     </para>
+     <para>
+     See also the chapter about the <link
+     linkend="configuration.file">configuration file</link>.
      </para>
     </answer>
    </qandaentry>


Reply via email to