From owner-freebsd-questions@FreeBSD.ORG Tue Sep 25 08:07:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C76E16A417 for ; Tue, 25 Sep 2007 08:07:39 +0000 (UTC) (envelope-from gabe@dragffy.com) Received: from dedi10.ukhost4u.com (dedi10.ukhost4u.com [85.13.239.35]) by mx1.freebsd.org (Postfix) with ESMTP id 21DBE13C474 for ; Tue, 25 Sep 2007 08:07:39 +0000 (UTC) (envelope-from gabe@dragffy.com) Received: from [88.105.59.168] (helo=[192.168.1.67]) by dedi10.ukhost4u.com with esmtpa (Exim 4.68) (envelope-from ) id 1Ia5S9-0001JE-6x for freebsd-questions@freebsd.org; Tue, 25 Sep 2007 09:07:33 +0100 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <200709241921.00663.tabthorpe@freebsd.org> References: <46F84134.4060405@ourweb.net> <200709241921.00663.tabthorpe@freebsd.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4BF2FB49-AD87-49B6-82E9-23B18C7BD817@dragffy.com> Content-Transfer-Encoding: 7bit From: Gabriel Dragffy Date: Tue, 25 Sep 2007 09:07:22 +0100 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - dedi10.ukhost4u.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dragffy.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: php5 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, 25 Sep 2007 08:07:39 -0000 On 25 Sep 2007, at 00:20, Thomas Abthorpe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Monday 24 September 2007 18:59:00 Bill Banks wrote: >> I just installed php5 but if I goto index.php it wants to download it >> and not display it. What am I missing? > > You are likely missing the following lines from your httpd.conf > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps Also make sure you compiled the apache module. If installing from ports it asks you. However, if you installed from a package it won't have this enabled. Assuming you're using apache, natch.