← Back to team overview

sslug-teknik team mailing list archive

Sv: PHP 4.0 installationsproblemer

 

----- Original Message ----- 
From: <sslug-teknik@xxxxxxxx>
To: <sslug-teknik@xxxxxxxx>
Sent: Tuesday, August 22, 2000 1:27 PM
Subject: [TEKNIK] PHP 4.0 installationsproblemer


> Hej!
> 
> Hvad skal der til for at få PHP4.0 og MySQL support installeret?

Download Apache source koden, MySQL rpm's fra mysql.com, snup php4.0 fra www.php.net.

Kompiler apache således:

./configure --prefix=/usr/local/apache --enable-module=so
make
make install

Kompiler PHP4:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
make
make install

(her kan den godt brokke sig og sige at du skal rette din APXS fil, følg vejledning fra ./configure).

Ret i den httpd.conf (i /usr/local/apache/conf). Du skal lige fjerne en # fra en linie der ligner #AddType xxxxxxx .php

Installer alle mysql rpm'erne.

Start Mysql. Start apache. Voila

MVH
Michael Wulff Nielsen








Follow ups