From owner-freebsd-questions@FreeBSD.ORG Tue Jun 19 06:17:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8E5816A400 for ; Tue, 19 Jun 2007 06:17:39 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 8078813C448 for ; Tue, 19 Jun 2007 06:17:39 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 29635 invoked from network); 19 Jun 2007 01:17:38 -0500 Received: from 210-84-48-213.dyn.iinet.net.au (HELO localhost) (210.84.48.213) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 Jun 2007 01:17:38 -0500 Date: Tue, 19 Jun 2007 16:17:34 +1000 From: Norberto Meijome To: jackbarnett@gmail.com Message-ID: <20070619161734.45503fa8@localhost> In-Reply-To: <467763C3.306@gmail.com> References: <467763C3.306@gmail.com> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Apache, php? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2007 06:17:39 -0000 On Tue, 19 Jun 2007 00:04:03 -0500 Jack Barnett 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.