Re: Can't get PHP to work with Apache
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Can't get PHP to work with Apache

From: <"B>
Date: Tue Jul 26 2005 - 07:26:35 CEST

Andy Hassall wrote:
> On Mon, 25 Jul 2005 13:29:06 -0700, "B Squared" wrote:
>
>
>>It looks like Apache just won't interpret the .php files as
>>scripts.
>
>
> Did you do step 15 in the installation instructions:
>
> http://www.php.net/manual/en/install.unix.apache2.php

This worked! Thanks!

I find it strange that the line Apache generates for itself is:

   AddType application/x-http-php .php .phtml

and it's wrong. The correct one is

  AddType application/x-httpd-php .php .phtml

Thanks again
Received on Mon Oct 17 21:18:25 2005