Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2007 16:17:34 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        jackbarnett@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache, php?
Message-ID:  <20070619161734.45503fa8@localhost>
In-Reply-To: <467763C3.306@gmail.com>
References:  <467763C3.306@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Jun 2007 00:04:03 -0500
Jack Barnett <jackbarnett@gmail.com> wrote:

> on the command line doing `php index.php` works.
> But if I use it though a web browser it just displays the php code.

enable mod_status and/or mod_info in Apache and double check that the php
module is loaded, and what its name is. I recall there beeing a version where
it wasn't mod_php4, so the IfModule directives wouldn't match and not load the
right configuration.

once you have the correct module name, change the ifModule lines accordingly
and reload apache.

_________________________
{Beto|Norberto|Numard} Meijome

Without vision you may find that you make your way through life by bumping into
things.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070619161734.45503fa8>