cvs: phpdoc /en/install/unix apache1.xml

From: Date: Thu, 02 Sep 2004 12:43:52 +0000
Subject: cvs: phpdoc /en/install/unix apache1.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969363711@lists.php.net to get a copy of this message
aidan Thu Sep 2 08:43:52 2004 EDT Modified files: /phpdoc/en/install/unix apache1.xml Log: Added the apache shared-object stuff. This definitly needs to be split into three sections. 1 for the stuff in common, 1 for the SO, 1 for the DSO. I'm not sure how to do this, comments welcome. http://cvs.php.net/diff.php/phpdoc/en/install/unix/apache1.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/install/unix/apache1.xml diff -u phpdoc/en/install/unix/apache1.xml:1.1 phpdoc/en/install/unix/apache1.xml:1.2 --- phpdoc/en/install/unix/apache1.xml:1.1 Tue Jun 8 17:47:58 2004 +++ phpdoc/en/install/unix/apache1.xml Thu Sep 2 08:43:52 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect1 id="install.unix.apache"> <title>Apache 1.3.x on Unix systems</title> <para> @@ -103,6 +103,47 @@ 17. Use your normal procedure for starting the Apache server. (You must stop and restart the server, not just cause the server to reload by using a HUP or USR1 signal.) +]]> + </screen> + </example> + + <para> + Alternatively, to install PHP as a static object: + </para> + + <example id="install.unix.apache.example-static"> + <title> + Installation Instructions (Static Module Installation for Apache) for PHP + </title> + <screen> +<![CDATA[ +1. gunzip -c apache_1.3.x.tar.gz | tar xf - +2. cd apache_1.3.x +3. ./configure +4. cd .. + +5. gunzip -c php-4.x.y.tar.gz | tar xf - +6. cd php-4.x.y +7. ./configure --with-mysql --with-apache=../apache_1.3.x +8. make +9. make install + +10. cd ../apache_1.3.x + +11. ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a + (The above line is correct! Yes, we know libphp4.a does not exist at this + stage. It isn't supposed to. It will be created.) + +12. make + (you should now have an httpd binary which you can copy to your Apache bin dir if + is is your first install then you need to "make install" as well) + +13. cd ../php-4.x.y +14. cp php.ini-dist /usr/local/lib/php.ini + +15. You can edit /usr/local/lib/php.ini file to set PHP options. + Edit your httpd.conf or srm.conf file and add: + AddType application/x-httpd-php .php ]]> </screen> </example>

« previous php.doc (#969363711) next »