[olug] Apache Doesn't know PHP type

Mike Hostetler hostetlerm at gmail.com
Tue Dec 21 18:11:46 UTC 2004


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



More information about the OLUG mailing list