From owner-freebsd-questions@FreeBSD.ORG Mon Sep 24 23:36:04 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 1011316A417 for ; Mon, 24 Sep 2007 23:36:04 +0000 (UTC) (envelope-from tabthorpe@freebsd.org) Received: from tbaytel.net (front3-e.tbaytel.net [216.211.26.174]) by mx1.freebsd.org (Postfix) with ESMTP id C01BE13C465 for ; Mon, 24 Sep 2007 23:36:03 +0000 (UTC) (envelope-from tabthorpe@freebsd.org) X-Scanned-by-Cloudmark: Yes X-Spam-Score: 0.000000 Received: from goodking.goodking.ca (account thomasa@tbaytel.net [216.211.53.177] verified) by front3.tbaytel.net (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 61636828 for freebsd-questions@freebsd.org; Mon, 24 Sep 2007 19:21:02 -0400 From: Thomas Abthorpe Organization: FreeBSD Ports Committer To: freebsd-questions@freebsd.org Date: Mon, 24 Sep 2007 19:20:53 -0400 User-Agent: KMail/1.9.7 References: <46F84134.4060405@ourweb.net> In-Reply-To: <46F84134.4060405@ourweb.net> X-Face: /|[9,PbEOB6g>?2^*Sc|"~6:Ro"O>Nv\Rfkv\42g)=?utf-8?q?TuAYG=26+bD=5CpCJTX31s=5Fp=7Bc7=5D5a=2ED=2E=0A=09Y?=@QddKu_I[XB8; euK=^[=L1I#]rgi[0jgz^4qCTwlj]3kJ)]vc}O"HrA14hN)=?utf-8?q?aXewJPTi=7C=0A=09Pt=7BS3=23Vw4x-?="/:& Subject: Re: php5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tabthorpe@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 23:36:04 -0000 -----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 Great resource at http://www.mydigitallife.info/2006/04/14/installing-web-server-in-freebsd-60-with-apache-22-mysql-50-and-php-5-part-5/ Thomas - -- Thomas Abthorpe | FreeBSD Ports Committer tabthorpe@FreeBSD.org | http://people.freebsd.org/~tabthorpe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG+EZc5Gm/jNBp8qARAjZcAJ47BMaleI9BzbCcN5+07vT2HHeVbQCePIFM GGUmKlw1DPgLYh3K131rb8M= =5CPe -----END PGP SIGNATURE-----