diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -1,25 +1,26 @@ Installation Instructions for PHP 4.0 ------------------------------------- -For the impatient here is a quick set of steps that will build PHP -as an Apache module for Apache 1.3.0 with MySQL support. A more verbose +For the impatient here is a quick set of steps that will build PHP as +an Apache module for Apache 1.3.x with MySQL support. A more verbose explanation follows. QUICK INSTALL -gunzip apache_1.3.x.tar.gz -tar xvf apache_1.3.x.tar -gunzip php-4.0.x.tar.gz -tar xvf php-4.0.x.tar -cd apache_1.3.x -./configure --prefix=/www -cd ../php-4.0.x -./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars -make -make install -cd ../apache_1.3.x -./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a +$ gunzip -c apache_1.3.x.tar.gz | tar xf - +$ cd apache_1.3.x +$ ./configure +$ cd .. + +$ gunzip -c php-4.0.x.tar.gz | tar xf - +$ cd php-4.0.x +$ ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars +$ make +$ make install + +$ cd ../apache_1.3.x +$ ./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.) make |