Date: Tue, 25 Sep 2007 09:07:22 +0100 From: Gabriel Dragffy <gabe@dragffy.com> To: freebsd-questions@freebsd.org Subject: Re: php5 Message-ID: <4BF2FB49-AD87-49B6-82E9-23B18C7BD817@dragffy.com> In-Reply-To: <200709241921.00663.tabthorpe@freebsd.org> References: <46F84134.4060405@ourweb.net> <200709241921.00663.tabthorpe@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BF2FB49-AD87-49B6-82E9-23B18C7BD817>