Pear install - php.exe location
Posted by: mattb (---.nsw.westnet.com.au)
Date: October 28, 2008 12:34AM

Hi all.

Sorry if this question has been asked before but was not able to search for this topic.

Just installed wamp on my win2k3 server seemed to go fine. c:\wamp

went to run go-pear.bat

it comes up with the default locations for pear.ini etc but the 12th option for php.exe is set to nothing and if i press 12 to change it, it comes back and says "error not a folder or no php.exe is found in this folder" I'm not able to change it to anything as it comes up right away with this message.

any help on this would be appreciated.

Thanks

Options: ReplyQuote
Re: Pear install - php.exe location
Posted by: mattb (---.nsw.westnet.com.au)
Date: October 31, 2008 11:52PM

any ideas here?

all i need is a working install of apache, php and mysql with pear enabled. I have tried doing this several ways and seem to keep having issues when installing / updating the pear side. Has anyone else come across this?

Options: ReplyQuote
Re: Pear install - php.exe location
Posted by: toivo (---.nsw.bigpond.net.au)
Date: November 01, 2008 12:42AM

Hi,

Windows needs to be able to find the php.exe file that go-pear.bat uses in a folder when it tries to run it. You may be able to modify the bat file but it is best to add the following folder to the system PATH variable in Control Panel - System - Advanced - Environment Variables and then restart Windows:

c:\wamp\bin\php\php5.2.6

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: Pear install - php.exe location
Posted by: mattb (---.nsw.westnet.com.au)
Date: November 01, 2008 11:56PM

Thanks for replying.


As it turns out the issue was that the pear install was reading the current Environment Variables from seperate installs that were never removed which had different paths. So I manually corrected them re ran the pear install and all is good now.

Thanks smiling smiley

Options: ReplyQuote
Re: Pear install - php.exe location
Posted by: toivo (---.nsw.bigpond.net.au)
Date: November 02, 2008 01:16AM

Cheers

toivo
Sydney, Australia

Options: ReplyQuote
Re: Pear install - wamp 2.2
Posted by: dduleep (123.231.72.---)
Date: December 14, 2011 11:28AM

My php folder don't have go-pear.bat. So how can i install the pear packages in to Wamp Server 2.2

Options: ReplyQuote
Re: Pear install - php.exe location
Posted by: caponica (---.9-1.cable.virginmedia.com)
Date: December 14, 2011 02:59PM

You can download go-pear.phar from [pear.php.net]

Save it in your C:\wamp\bin\php\php5.3.8 folder then use a command line to run
> php go-pear.phar

There's a youtube video running you through a WAMP2.2 pear installation here:
[www.youtube.com]


C

Options: ReplyQuote


Sorry, only registered users may post in this forum.