Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Apache 2 og PHP 4.3.1

Author:black - Fri Mar 14 23:34:50 2003

wget http://www.php.net/get/php-4.3.1.tar.gz/from/dk2.php.
wget <apache>

tar zxf httpd-2.0.44.tar.gz
tar zxf php-4.3.1.tar.gz

cd httpd-2.0.44
mkdir /www
./configure --prefix=/www --enable-so
make
make install

cd ../php-4.3.1
./configure --with-apxs2=/www/bin/apxs --prefix=/www/php
make
make install

cp php.ini-dist /www/php/lib/php.ini

echo 'LoadModule php4_module modules/libphp4.so' >> /www/conf/httpd.conf
echo 'AddType application/x-httpd-php .php' >> /www/conf/httpd.conf

rediger httpd.conf, tilføj 'index.php' til linien 'DirectoryIndex'

Så skulle den funke
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk