Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 19:20:53 -0400
From:      Thomas Abthorpe <tabthorpe@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: php5
Message-ID:  <200709241921.00663.tabthorpe@freebsd.org>
In-Reply-To: <46F84134.4060405@ourweb.net>
References:  <46F84134.4060405@ourweb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



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