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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php