Re: [PHP] Running two versions of PHP locally

2006-05-22 Thread Richard Lynch
On Fri, May 19, 2006 6:41 pm, John Hicks wrote: > It looks like 'application/x-httpd-php' is the default type for php4. > Does php5 have a different type? Is there a way to explicitly assign a > new type to a module? It don't really matter what type it is if the functions within the two binaries a

Re: [PHP] Running two versions of PHP locally

2006-05-20 Thread Koen Martens
Scott Hurring wrote: > On 5/19/06, John Hicks <[EMAIL PROTECTED]> wrote: [snip] >> It looks like 'application/x-httpd-php' is the default type for php4. >> Does php5 have a different type? Is there a way to explicitly assign a >> new type to a module? [snip] > I'd be interested

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Scott Hurring
On 5/19/06, John Hicks <[EMAIL PROTECTED]> wrote: It looks like 'application/x-httpd-php' is the default type for php4. Does php5 have a different type? Is there a way to explicitly assign a new type to a module? To be more explicit: When installing php5, what do I need to do to make this confi

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread John Hicks
Scott Hurring wrote: You should be able to do that with PHP4 and PHP5. However, most people don't wnat to have to use "php5" and "php4" as file extensions but rather want to be able to say, "everything on blah.com use php5 and everything on foo.org use php4"... or even to specify differeing vers

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Richard Lynch
On Fri, May 19, 2006 4:01 pm, John Hicks wrote: > Just a quick sanity check from a php4 user who's thinking of trying > php5: > > With PHP3 and PHP4 (I thought) you could install both Apache modules > and > invoke them on a page by page basis based on the extension you assign > them in Apache ( .ph

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Scott Hurring
You should be able to do that with PHP4 and PHP5. However, most people don't wnat to have to use "php5" and "php4" as file extensions but rather want to be able to say, "everything on blah.com use php5 and everything on foo.org use php4"... or even to specify differeing versions within a single h

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread John Hicks
Just a quick sanity check from a php4 user who's thinking of trying php5: With PHP3 and PHP4 (I thought) you could install both Apache modules and invoke them on a page by page basis based on the extension you assign them in Apache ( .php v. .php4 for example). Are you all saying you can't do

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Richard Lynch
With Apache, find Rasmus' post regarding "Proxy PHP4 PHP5" in the archives of this very list. You're on your own with IIS. On Fri, May 19, 2006 11:07 am, Phillip S. Baker wrote: > Greetings Gents, > > I am interested in running two versions of of PHP. > I want to see if I can get my boss to buy i

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Wolf
Set up a second virtual host which uses a different PHP configuration. I used PHP4 and PHP5 with my current build and just set up PHPINI in apache2 to point to which one I wanted to use per each installation. Then setting up port 90 on my box versus using port 80 is 4 versus 5 Wolf Phillip S. Bak

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Eric Butera
On 5/19/06, Phillip S. Baker <[EMAIL PROTECTED]> wrote: Greetings Gents, I am interested in running two versions of of PHP. I want to see if I can get my boss to buy into migrating to PHP 5. I want to set it up locally. Locally I am running apache on a windows XP box with PHP 4. I would like

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Scott Hurring
I wrote up a little HOWTO on my site on getting PHP4 (as module) and PHP5 (as cgi) running concurrently. Maybe it'll help http://hurring.com/howto/php4_and_php5/ On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Phillip S. Baker wrote: > I am interested in running two versions of of PH

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread php
Phillip S. Baker wrote: > I am interested in running two versions of of PHP. > I want to see if I can get my boss to buy into migrating to PHP 5. > > I want to set it up locally. > > Locally I am running apache on a windows XP box with PHP 4. > > I would like I would like to be able to set up PH