php5

Thomas Abthorpe tabthorpe at freebsd.org
Mon Sep 24 16:36:04 PDT 2007


-----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 at 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-----


More information about the freebsd-questions mailing list