Re: [SLUG] Apache on Debian won't run php

From: Matt Miller (Matt.Miller@mptotalcare.com)
Date: Thu Aug 07 2003 - 11:04:15 EDT


On Thu, 2003-08-07 at 10:04, Michael Manchester wrote:
> I've searched google and tried a number of things such
> as adding lines to the httpd.conf
> <IfModule mod_php4.c>
> AddType application/x-httpd-php .php4 .php3 .phtml
> .php
> AddType application/x-httpd-php-source .phps
> </IfModule>
> restared apache and I'm still getting the following
> when I try to run a simple php script to check the php
> settings.
> The browser is returning:
> The file "phpinfo.php" is of type
> application/x-httpd-php, and mozilla firebird does not
> know how to handle this file type.

Mike,
Do you have a php module loading in apache?

Here is an example line from httpd.conf --

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

Obviously, the module must actually exist in /usr/lib/apache/1.3. There
is a good chance the LoadModule line for php is commented out in your
httpd.conf.

.

-- 

Matt Miller Systems Administrator MP TotalCare gpg public key id: 08BC7B06

-- Insanity in individuals is something rare - but in groups, parties, nations and epochs, it is the rule. -- Nietzsche


----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:14:50 EDT