Re: Two version of PHP in single server

From: Date: Tue, 29 Nov 2005 06:41:03 +0000
Subject: Re: Two version of PHP in single server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226574@lists.php.net to get a copy of this message
Hi, Thanks.......! Even the second is server-parsed not cgi Some more suggestions are welcomed, so we can succeed in experimentation of Two version of PHP in same server. > i haven't tried this since php3/4, but it used to be that you could > install them both (as server parsed, not one as a cgi) and then use > different file extensions (and appropriate apache entries) to direct > which php version parsed the page. e.g., we used ".php3" to use the > php3 install and ".php" for php4. > > i have a sense that this may be harder (or potentially impossible) > now, but you may want to look at the apache install documentation to > see if it gives hints. there used to be information in, i believe, > the apache source install documentation explaining how to do this. > > as someone else has indicated, you can (or at least should be able > to) install one version as server-parsed and the second as cgi, > though that may not meet your needs. > > > ------------ Original Message ------------ > > Date: Monday, November 28, 2005 12:07:02 PM +0530 > > From: "J.F.Kishor" <kishor@ooty.tenet.res.in> > > To: php-general@lists.php.net > > Subject: [PHP] Two version of PHP in single server > > > > Hi, > > > > I have a query, can we run two versions of PHP in linux 7.2 > > server. > > > > I want to use PHP 4.x for one application and PHP 5.1.0 for > > another application in the same server. > > > > Do I need to do some configuration changes to set the php > > path. To look up different versions based on the request of > > the application. > > > > > > > > Regards, > > - JFK > > kishor > > Nilgiri Networks > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > ---------- End Original Message ---------- > -- Regards, - JFK kishor Nilgiri Networks

« previous php.general (#226574) next »