Re: Apache 2.0
| From: | Erwin | Date: | Wed, 04 Sep 2002 13:48:47 +0000 |
| Subject: | Re: Apache 2.0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115171@lists.php.net to get a copy of this message | ||
Lars Hecking wrote:
> Hi all,
>
> I'm setting up a test server with Apache 2.0.40 and php. I
> downloaded the latest php4 snapshot, compiled and installed it (a
> real PITA, but I managed), added
>
> LoadModule php4_module modules/libphp4.so
>
> and
>
> AddType application/x-httpd-php .php
>
> to httpd.conf, but my browser still doesn't show a php test page, it
> rather prompts for download.
Add the following to the bottom of your httpd.conf
<FilesMatch "\.php$">
SetOutputFilter PHP
SetInputFilter PHP
</FilesMatch>
HTH
Erwin