NYCPHP Meetup

[nycphp-talk] Setting up more than one version of PHP.

Analysis & Solutions danielc at analysisandsolutions.com
Thu Mar 6 12:25:49 EST 2003


Hi Nasir:

On Thu, Mar 06, 2003 at 12:13:34AM -0500, Nasir Zubair wrote:
> Is it possible to run multiple versions of PHP on windows.  I was wanting to
> play around with PHP5 snaps, but couldn't set it up while trying to retain 4
> 3.1.

Absolutely.  I'm writing this away from my office, so please forgive my 
being vague...

Setup the PHP executables and supporting files in separate directories.  
Then, in your httpd.conf file, duplicate your PHP handlers (you know,
AddHandler, Action, etc).  Have one group process, for example, .php
pointing to the php5 dir and the other process .htm files pointing to the
php4 directory.

Make sense?  If not, I can follow up with real world examples when i get 
back.

--Dan

-- 
               PHP classes that make web design easier
    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 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409



More information about the talk mailing list