From 120af91555c73aa655c4febda7a2124732bbe799 Mon Sep 17 00:00:00 2001 From: Friedhelm Betz Date: Wed, 13 Nov 2002 00:35:20 +0000 Subject: [PATCH] some rewording less confusing version numbers; thanks to Goba git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@103611 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/install.apache2.xml | 97 ++++++++++++++++++++++-------------- 1 file changed, 60 insertions(+), 37 deletions(-) diff --git a/chapters/install.apache2.xml b/chapters/install.apache2.xml index 9432d7e5a1..b09b00fe68 100644 --- a/chapters/install.apache2.xml +++ b/chapters/install.apache2.xml @@ -1,50 +1,71 @@ - + Servers-Apache 2.0 This section contains notes and hints specific to Apache 2.0 installs - of PHP, both for Unix + of PHP, both for + Unix and Windows versions. - - - Do not use Apache 2.0 and PHP in a production - environment neither on Unix nor on Windows. - - - - You are highly encouraged to take a look at the - Apache Documentation to get - a basic understanding of the Apache 2.0 Server. - + + + Do not use Apache 2.0 and PHP in a production + environment neither on Unix nor on Windows. + + + + You are highly encouraged to take a look at the + Apache Documentation to get + a basic understanding of the Apache 2.0 Server. + PHP and Apache 2.0 compatibility notes - Apache 2.0 support started with PHP 4.2.0. If you want to use Apache 2.0 its - recommended to use PHP 4.3.0-dev with the most recent version of Apache 2.0. - PHP 4.2.4 and PHP 4.3.0-dev are compatible to Apache 2.0.40 and later. + As long as PHP 4.3.0 is not released, we recommend to use one of the + following versions with the most recent version of Apache 2.0: + + + + the latest stable development versions downloadable from + &url.php.snapshots; + + + + + a prerelease version of PHP 4.3.0 downloadable from + &url.php.prerelease; + + + + + you have always the option to obtain PHP through + anonymous CVS. + + + + These versions of PHP are compatible to Apache 2.0.40 and later. + Apache 2.0 SAPI-support started with PHP 4.2.0. PHP 4.2.3 its known to work in conjunction with Apache 2.0.39. Don't try to use this version of PHP with any other version of Apache. + We do not recommend to use PHP 4.2.3 along with Apache 2.0.39. + + + All mentioned versions of PHP will work still with + Apache 1.3.x. - - You have several choices to get a version of PHP - which works together with Apache 2.0. Download the - latest stable snapshot - (PHP 4.2.4) or the pre-release - (PHP 4.3.0-devel). Of course, you have always the option to obtain - PHP through anonymous CVS. - PHP and Apache 2 on Linux + Download the most recent version of + Apache 2.0 and a fitting PHP version from the above mentioned places. This quick guide covers only the basics to get started with Apache 2.0 and PHP. For more information read the Apache Documentation. @@ -66,10 +87,11 @@ 6. ./configure --enable-so 7. make 8. make install + Now you have Apache 2.0.NN available under /usr/local/apache2, - configured with the standard MPM prefork. + configured with loadable module support and the standard MPM prefork. To test the installation use your normal procedure for starting - the Apache server, e.g: + the Apache server, e.g.: /usr/local/apache2/bin/apachectl start and stop the server to go on with the configuration for PHP: /usr/local/apache2/bin/apachectl stop. @@ -97,7 +119,7 @@ to the path of the PHP module on your system. The above statement is correct for the steps shown above. -15. Use your normal procedure for starting the Apache server, e.g: +15. Use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start ]]> @@ -106,14 +128,14 @@ Following the steps above you will have a running Apache 2.0 with - support for PHP. Of course there are many more - configuration options available for both, Apache and - PHP. For more information use + support for PHP as SAPI module. + Of course there are many more configuration options available for both, + Apache and PHP. For more information use ./configure --help in the corresponding source tree. In case you wish to build a multithreaded version of Apache 2.0 you must overwrite the standard MPM-Module prefork either with worker or perchild. - Append to your configure line in step 6 above either the option + To do so append to your configure line in step 6 above either the option or . Take care about the consequences and understand what you are doing. For more information @@ -125,7 +147,8 @@ To build a multithreaded version of Apache your system must support threads. This also implies to build PHP with experimental Zend Thread Safety (ZTS). Therefore not all extensions might be available. - The recommended setup is to build Apache with the standard prefork MPM-Module. + The recommended setup is to build Apache with the standard + prefork MPM-Module. @@ -134,7 +157,7 @@ PHP and Apache 2.0 on Windows Consider to read the - Windows specific Notes for Apache 2.0. + Windows specific notes for Apache 2.0. @@ -152,7 +175,7 @@ There are two ways to set up PHP to work with - Apache 2.0.4x on Windows. One is to use the CGI binary the other is to + 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 to work with PHP. @@ -162,7 +185,7 @@ configuration file to set up the CGI binary: - PHP 4.2.4 and Apache 2.0 + PHP development version and Apache 2.0 - PHP 4.3.0 and Apache 2.0 + PHP 4.3.0 prerelease and Apache 2.0 Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Don't mix up your - installation with dll files from different PHP Versions + installation with dll files from different PHP versions . You have the only choice to use the dll's and extensions that ship with your downloaded PHP version.