Re: php4 and php5 on windows

From: Date: Mon, 25 Oct 2004 07:32:28 +0000
Subject: Re: php4 and php5 on windows
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34053@lists.php.net to get a copy of this message
Greg Beaver wrote:
Lukas Smith wrote:
Hi, Maybe I am a bit dense but I am trying to do the following: I have php4 installed into c:\php and php5 installed into c:\php5. Now I want to install PEAR in the php5 dir. When I click on go-pear.bat it doesnt seem to run the php.exe from the php5 dir. Even if I manually fix the cli path during the install I end up with a PEAR install in the php5 dir for php4. The "pear -V" command also indicates that it is using the php4 CLI. I dont quite get what is going on though since the bat script seems to be using the php.exe in local dir or path and calling php.exe in the php5 dir works just fine.
This may be due to using the environment variables you have already set up for where PEAR's php binary exists.
Ok after removing all the env variables it seems to work. Now the thing that threw me off is that go-pear still was trying to install the old bundle instead of the php5 bundle. regards, Lukas

« previous php.pear.dev (#34053) next »