From owner-freebsd-questions@FreeBSD.ORG Thu Dec 21 16:42:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C84316A403 for ; Thu, 21 Dec 2006 16:42:14 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.freestylefund.com [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 82C6413C41A for ; Thu, 21 Dec 2006 16:42:14 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.232]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1GxQWT-000APj-Gm; Thu, 21 Dec 2006 09:11:57 -0700 In-Reply-To: <200612202145.59639.bkudria@eml.cc> References: <200612202145.59639.bkudria@eml.cc> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-85--568244109; protocol="application/pkcs7-signature" Message-Id: From: "Chad Leigh -- Shire.Net LLC" Date: Thu, 21 Dec 2006 09:11:56 -0700 To: Benjamin Kudria X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Installing PHP5 alongside PHP4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2006 16:42:14 -0000 --Apple-Mail-85--568244109 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Dec 20, 2006, at 7:45 PM, Benjamin Kudria wrote: > Hi, > > I admin a small web hosting server running 6.1-RELEASE-p10, and I > have PHP4 > working as a module with Apache 2.0.59. I have a PHP app that > doesn't work > with PHP4 and requires PHP5, along with the mysql and gd > extensions. Is > there a way to get PHP5 to run alongside PHP4 short of installing > another > Apache in a jail? I don't know if you can using ports but by compiling yourself you can. You have to have 2 separate modules you load (with different names) and then you have to have one respond to a different file extension. Ie, .php for php4 and .php5 for php5 or whatever. Chad > > Thanks, > Benjamin Kudria > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net --Apple-Mail-85--568244109--