Re: Two version of php in the same system
| From: | Breno Cardoso Perucchi | Date: | Sat, 10 Aug 2002 05:34:30 +0000 |
| Subject: | Re: Two version of php in the same system | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111930@lists.php.net to get a copy of this message | ||
It have some order for installation of the versions of PHP?
First 4.03
Second 4.22
or
First install 4.22
Second 4.03
You showed as installing version of php for Windows ?
That go work with system Linux and FreeBSD ?
Below this configuration of systems Linux and FreeBSD
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
Thanks for your help again
"Breno Cardoso Perucchi" <breno@omegatec.net> wrote in message
news:20020807231449.18064.qmail@pb1.pair.com...
> You think what exist a order for to install versions of php ?
>
> Thanks for your help
>
> "Analysis & Solutions" <danielc@analysisandsolutions.com> wrote in message
> news:20020806052945.GA14628@panix.com...
> > Hi Breno:
> >
> > On Tue, Aug 06, 2002 at 02:20:19AM -0300, Breno Cardoso Perucchi wrote:
> > > Exists some way of to have 2 different versions in the same system ?
> > > I am trying to running the version 4.2.2 and 4.0.3 .
> >
> > Sure. Install them in separate directories. In this example,
> > /usr/local/bin/php has two sub directories, ver403 and ver422.
> >
> > Then, in httpd.conf, put:
> >
> > Action application/x-httpd-php403 "/php403/php.exe"
> > ScriptAlias /php403/ "/usr/local/bin/php/ver403"
> >
> > Action application/x-httpd-php "/php422/php.exe"
> > ScriptAlias /php422/ "/usr/local/bin/php/ver422"
> >
> >
> > Now, in your various directories, use .htaccess files to control which
> > version is to be called:
> >
> > AddType application/x-httpd-php403 .html
> > AddType application/x-httpd-php .php
> >
> > Modify everything above to suit your real needs.
> >
> > --Dan
> >
> > --
> > PHP classes that make web design easier
> > SQL Solution | Layout Solution | Form Solution
> > sqlsolution.info | layoutsolution.info | formsolution.info
> > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> > 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
>
>