imajes          Wed Jan 23 15:56:48 2002 EDT

  Modified files:              
    /phpdoc/en/chapters install.apache.xml 
  Log:
  changed the recommended apache install procedure, since it didn't make much sense. 
please look over it, and check etc.
  
  
Index: phpdoc/en/chapters/install.apache.xml
diff -u phpdoc/en/chapters/install.apache.xml:1.1 
phpdoc/en/chapters/install.apache.xml:1.2
--- phpdoc/en/chapters/install.apache.xml:1.1   Wed Jan  9 18:52:08 2002
+++ phpdoc/en/chapters/install.apache.xml       Wed Jan 23 15:56:47 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
   <sect1 id="install.apache">
    <title>Servers-Apache</title>
    <para>
@@ -13,52 +13,49 @@
      You can select arguments to add to the
      <command>configure</command> on line 8 below from the <link
      linkend="install.configure">Complete list of configure
-     options</link>.
+     options</link>. The version numbers have been ommitted here, to
+     ensure the instructions are not incorrect. You will need to replace
+     the 'xxx' here with the correct values from your files.
     </para>
 
     <example id="install.apache.unix.longer">
      <title>
-      Installation Instructions (Apache Module Version)
+      Installation Instructions (Apache Module Version) for PHP 4
      </title>
      <screen>
 <![CDATA[
-1.  gunzip apache_1.3.x.tar.gz
-2.  tar xvf apache_1.3.x.tar
-3.  gunzip php-x.x.x.tar.gz
-4.  tar xvf php-x.x.x.tar
-5.  cd apache_1.3.x
+1.  gunzip apache_xxx.tar.gz
+2.  tar -xvf apache_xxx.tar
+3.  gunzip php-xxx.tar.gz
+4.  tar -xvf php-xxx.tar
+5.  cd apache_xxx
 6.  ./configure --prefix=/www
-7.  cd ../php-x.x.x
-8.  ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars
+7.  cd ../php-xxx
+8.  ./configure --with-mysql --with-apxs=/www/bin/apxs --enable-track-vars
 9.  make
 10. make install
-11. cd ../apache_1.3.x
-12. for PHP 3: ./configure --activate-module=src/modules/php3/libphp3.a
-    for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a
-13. make
-14. make install
 
   Instead of this step you may prefer to simply copy the httpd binary
   overtop of your existing binary.  Make sure you shut down your
   server first though.
 
-15. cd ../php-x.x.x
-16. for PHP 3: cp php3.ini-dist /usr/local/lib/php3.ini
-    for PHP 4: cp php.ini-dist /usr/local/lib/php.ini
+11. cd ../php-x.x.x
+12. cp php.ini-dist /usr/local/lib/php.ini
 
   You can edit your .ini file to set PHP options.  If
   you prefer this file in another location, use
   --with-config-file-path=/path in step 8.
 
-17. Edit your httpd.conf or srm.conf file and add: 
-      
-     For PHP 3:   AddType application/x-httpd-php3 .php3
-     For PHP 4:   AddType application/x-httpd-php .php
+13. Edit your httpd.conf or srm.conf file and check this line is not
+    commented:
+  
+   AddType application/x-httpd-php .php
  
   You can choose any extension you wish here.  .php is simply the one
-  we suggest. You can even include .html .
+  we suggest. You can even include .html, and .php3 can be added for 
+  backwards compatibility.
 
-18. Use your normal procedure for starting the Apache server. (You must
+14. Use your normal procedure for starting the Apache server. (You must
     stop and restart the server, not just cause the server to reload by
     use a HUP or USR1 signal.)
 ]]>


Reply via email to