From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 18:12:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FC1916A4CE for ; Sun, 30 Nov 2003 18:12:08 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B79D43FE0 for ; Sun, 30 Nov 2003 18:12:05 -0800 (PST) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[68.39.114.118]) by comcast.net (sccrmhc11) with ESMTP id <2003120102120401100nqe9he>; Mon, 1 Dec 2003 02:12:04 +0000 Received: from gladiator.trini0.org (gladiator.trini0.org [192.168.0.3]) by hivemind.trini0.org (Postfix) with ESMTP id 53D4F178 for ; Sun, 30 Nov 2003 21:12:04 -0500 (EST) From: Gerard Samuel To: questions@freebsd.org Date: Sun, 30 Nov 2003 21:12:03 -0500 User-Agent: KMail/1.5.4 References: <20031130050122.GA50513@tao.thought.org> <200311302253.52222.freebsd-questions@webteckies.org> <20031201012939.GC31659@tao.thought.org> In-Reply-To: <20031201012939.GC31659@tao.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311302112.04125.fbsd-questions@trini0.org> Subject: Re: php4... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 02:12:08 -0000 On Sunday 30 November 2003 08:29 pm, Gary Kline wrote: > Yipes! No wonder no FUD port has been done! .... > > I have a one-line php test file in /usr/local/www/data/hello.php; > *with* mod_php4, several pages of system data shows up, but > with only php4, I have the option to Download or Cancell. > This is using lynx. > > With mod_php4 and pointing mozilla at > localhost/~kline/FUDforum2/install.php a frame pops up and asks > what I want to do with the file. If I "download", the installation > file winds up in ~kline. Im guessing its Apache. You should have these entries in /usr/local/etc/apache/httpd.conf and if not, enter them and restart apache -> LoadModule php4_module libexec/apache/libphp4.so AddModule mod_php4.c DirectoryIndex index.php index.php3 index.html index.htm DirectoryIndex index.php3 index.html DirectoryIndex index.php index.html DirectoryIndex index.html AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps