Apache2 og PHP

From: Michael Andreasen (none@michael--subwire.dk.lh.bsd-dk.dk)
Date: Tue 22 Apr 2003 - 15:00:24 CEST


From: "Michael Andreasen" <none@michael--subwire.dk.lh.bsd-dk.dk>
To: <none@bsd-dk--bsd-dk.dk.lh.bsd-dk.dk>
Subject: Apache2 og PHP
Date: Tue, 22 Apr 2003 15:00:24 +0200

Forsøger at installere Apache2 med PHP via ports

har installeret /usr/ports/www/apache2 og
 /usr/ports/www/mod_php4 med

make -DWITH_APACHE2 install && make clean

i httpd.conf har jeg sat

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Og jeg har omdøbt php.ini-dist til php.ini

Derefter har jeg lavet en phpinfo fil med echo "<? phpinfo(); ?>" >
/usr/local/www/data/phpinfo.php

Men Apache/PHP virker ikke.. Den forsøger bare at "gemme" filen istedet for
at vise phpinfo():

Er der nogen der kan hjælpe?

--
Mvh
Michael



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:28 CET