diff options
-rw-r--r-- | INSTALL | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1,4 +1,4 @@ -Installation Instructions for PHP 4.0 +Installation Instructions for PHP 4.1 ------------------------------------- For the impatient here is a quick set of steps that will build PHP as @@ -52,8 +52,8 @@ Compiled-in modules: Chances are you will see a lot more modules than these two. That's ok, as long as mod_so.c shows up you can proceed with the following steps: -$ gunzip -c php-4.0.x.tar.gz | tar xf - -$ cd php-4.0.x +$ gunzip -c php-4.1.x.tar.gz | tar xf - +$ cd php-4.1.x $ ./configure --with-mysql --with-apxs $ make $ make install @@ -83,8 +83,8 @@ $ cd apache_1.3.x $ ./configure $ cd .. -$ gunzip -c php-4.0.x.tar.gz | tar xf - -$ cd php-4.0.x +$ gunzip -c php-4.1.x.tar.gz | tar xf - +$ cd php-4.1.x $ ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars $ make $ make install @@ -96,7 +96,7 @@ $ ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a $ 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) -$ cd ../php-4.0.x +$ cd ../php-4.1.x $ cp php.ini-dist /usr/local/lib/php.ini You can edit /usr/local/lib/php.ini file to set PHP options. Edit your httpd.conf or srm.conf file and add: @@ -115,12 +115,12 @@ Installing PHP can be done in four simple steps: 1. Unpack your distribution file. - You will have downloaded a file named something like php-4.0.x.tar.gz. - Unzip this file with a command like: gunzip php-4.0.x.tar.gz + You will have downloaded a file named something like php-4.1.x.tar.gz. + Unzip this file with a command like: gunzip php-4.1.x.tar.gz - Next you have to untar it with: tar -xvf php-4.0.x.tar + Next you have to untar it with: tar -xvf php-4.1.x.tar - This will create a php-4.0.x directory. cd into this new directory. + This will create a php-4.1.x directory. cd into this new directory. 2a. Configure PHP (Dynamic Module) - Skip to 2b if you wish to build a static module |