summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-07-15 19:26:25 (GMT)
committerAndi Gutmans <andi@php.net>1999-07-15 19:26:25 (GMT)
commit1db7f1a910cd2334543206d721f6a435c1e3565a (patch)
tree76ff01e6ed361348f99e362ce9a6ae586457890e /INSTALL
parent2a43afd2ced1908de514731eb0cd376d8c59e4c9 (diff)
downloadphp-1db7f1a910cd2334543206d721f6a435c1e3565a.tar.gz
* PHP 3.0 -> 4.0 changes
* Add php_admin Apache directives
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL30
1 files changed, 15 insertions, 15 deletions
diff --git a/INSTALL b/INSTALL
index b8208d7..219d72a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,7 @@
-Installation Instructions for PHP3
-----------------------------------
+Installation Instructions for PHP 4.0
+-------------------------------------
-For the impatient here is a quick set of steps that will build PHP3
+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
explanation follows.
@@ -25,26 +25,26 @@ cd ../apache_1.3.x
make
(you should now have an httpd binary which you can copy to your Apache bin dir)
cd ../php-3.0.x
-cp php3.ini-dist /usr/local/lib/php3.ini
-You can edit /usr/local/lib/php3.ini file to set PHP options.
+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:
- AddType application/x-httpd-php3 .php3
+ AddType application/x-httpd-php .php
VERBOSE INSTALL
-Installing PHP3 can be done in four simple steps:
+Installing PHP can be done in four simple steps:
1. Unpack your distribution file.
- You will have downloaded a file named something like php3xn.tar.gz.
- Unzip this file with a command like: gunzip php3xn.tar.gz
+ You will have downloaded a file named something like php4xn.tar.gz.
+ Unzip this file with a command like: gunzip php4xn.tar.gz
- Next you have to untar it with: tar -xvf php3xn.tar
+ Next you have to untar it with: tar -xvf php4xn.tar
This will create a php-3.0.x directory. cd into this new directory.
-2. Configure PHP3.
+2. Configure PHP.
You now have to choose the options you would like. There are quite
a few of them. To see a list, type: ./configure --help
@@ -110,7 +110,7 @@ Installing PHP3 can be done in four simple steps:
For Apache 1.2.x add:
- Module php3_module mod_php4.o
+ Module php4_module mod_php4.o
For Apache 1.2.x you will also have to look in the libphp4.module file,
which was copied to the src directory. The EXTRA_LIBS line in the Apache
@@ -120,7 +120,7 @@ Installing PHP3 can be done in four simple steps:
So, as an example, your EXTRA_LIBS line might look like:
- EXTRA_LIBS=-L. -lphp3 -lgdbm -ldb -L/usr/local/mysql/lib -lmysqlclient
+ EXTRA_LIBS=-L. -lphp4 -lgdbm -ldb -L/usr/local/mysql/lib -lmysqlclient
NOTE: You should not enclose the EXTRA_LIBS line in double-quotes, as it
is in the libphp4.module file.
@@ -144,13 +144,13 @@ Installing PHP3 can be done in four simple steps:
a backup of your previous one first. Then edit your conf/srm.conf file
and add the line:
- AddType application/x-httpd-php3 .php3
+ AddType application/x-httpd-php .php
There is also an interesting feature which can be quite instructive and
helpful while debugging. That is the option of having colour syntax
highlighting. To enable this, add the following line:
- AddType application/x-httpd-php3-source .phps
+ AddType application/x-httpd-php-source .phps
Any file ending in .phps will now be displayed with full colour syntax
highlighting instead of being executed.