Install problem withApache 2.0.42 and PHP 4.3
| From: | Sebastian Grobosch | Date: | Fri, 10 Jan 2003 01:27:27 +0000 |
| Subject: | Install problem withApache 2.0.42 and PHP 4.3 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9652@lists.php.net to get a copy of this message | ||
Hi,
I want to install the Apache 2.0.42 and PHP 4.3 on my Debian 3.0 Linux.
I installed the apache without problems. php 4.3 is compiled and so i think
it is installed.
But know, I had to tell the apache, what to do with .php files
(Apache is installed in : /usr/local/apache2/current/
php.ini is in /etc/ )
I added this lines to the httpd.conf:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
But every time I'll want to access http://localhost/XXX.php the browser
wants to download XXX.php
There must be something wrong configured in the httpd.conf, so that the
apache doesn't recognize the *.php file....
Need help :-)), thx
Sebastian Grobosch