[olug] Apache Doesn't know PHP type

Sean Edwards cybersean3000 at yahoo.com
Tue Dec 21 18:14:41 UTC 2004


Are you loading the php module for apache, or do you
need to configure apache to run all files with .php
extension with the php interpreter?

-=Sean Edwards=-
cybersean3000 at yahoo.com


--- Mike Hostetler <hostetlerm at gmail.com> wrote:

> I've hit this one before, but can't remember how to
> solve it. . . 
> 
> On my Gentoo system, I installed PHP.  When I try to
> bring up a PHP
> page, it tried to download the page, saying it is
> type
> application/x-httpd-php
> 
> I have this in my config:
>    AddType application/x-httpd-php .php .phtml
>    AddType application/x-httpd-php-source .phps
> 
> What else do I need?
> 
> I'm running Apache 2, and PHP 5
> -- 
> Mike Hostetler
> http://www.binary.net/thehaas
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the OLUG mailing list