sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #01402
Re: MySQL & PHP3
[txt...]
Fra INSTALL i php-3.0.6.tar.gz
QUICK INSTALL
gunzip apache_1.3.x.tar.gz
tar xvf apache_1.3.x.tar
gunzip php-3.0.x.tar.gz
tar xvf php-3.0.x.tar
cd apache_1.3.x
./configure --prefix=/www
cd ../php-3.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/php3/libphp3.a
(The above line is correct! Yes, we know libphp3.a does not exist at
this stage. It isn't supposed to. It will be created.)
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.
Edit your httpd.conf or srm.conf file and add:
AddType application/x-httpd-php3 .php3
/Lars
Student at Department of Computer Science
University of Copenhagen
http://www.diku.dk/students/larsj/
References