paul Mon Feb 11 02:59:45 2002 EDT
Modified files:
/phpdoc/en/chapters install.apache.xml
Log:
The documentation regarding apache install is contradictory. A user needs
to compile and install apache before they can specify the --wiith-apxs option.
Since apxs is the method of choice instructions have been updated to reflect this.
Added --enable-module=so for completeness.
Index: phpdoc/en/chapters/install.apache.xml
diff -u phpdoc/en/chapters/install.apache.xml:1.4
phpdoc/en/chapters/install.apache.xml:1.5
--- phpdoc/en/chapters/install.apache.xml:1.4 Wed Feb 6 17:12:38 2002
+++ phpdoc/en/chapters/install.apache.xml Mon Feb 11 02:59:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<sect1 id="install.apache">
<title>Servers-Apache</title>
<para>
@@ -8,7 +8,7 @@
<link linkend="install.apache.windows">Windows</link> versions.
</para>
<sect2 id="install.apache.unix">
- <title>Details of installing PHP with Apache on Unix</title>
+ <title>Details of installing PHP with Apache using on Unix</title>
<para>
You can select arguments to add to the
<command>configure</command> on line 8 below from the <link
@@ -20,7 +20,7 @@
<example id="install.apache.unix.longer">
<title>
- Installation Instructions (Apache Module Version) for PHP 4
+ Installation Instructions (Apache Shared Module Version) for PHP 4
</title>
<screen>
<![CDATA[
@@ -29,15 +29,18 @@
3. gunzip php-xxx.tar.gz
4. tar -xvf php-xxx.tar
5. cd apache_xxx
-6. ./configure --prefix=/www
-7. cd ../php-xxx
-8. ./configure --with-mysql --with-apxs=/www/bin/apxs
-9. make
-10. make install
+6. ./configure --prefix=/www --enable-module=so
+7. make
+8. make install
+9. cd ../php-xxx
+10. ./configure --with-mysql --with-apxs=/www/bin/apxs
+11. make
+12. 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.
+ If you decide to change your configure options after installation
+ you only need to repeat the last three steps. You only need to
+ restart apache for the new module to take effect. A recompile of
+ Apache is not needed.
11. cp php.ini-dist /usr/local/lib/php.ini