Error in installing PEAR
Posted by: revdave (---.dsl.iowatelecom.net)
Date: June 23, 2008 07:36PM

I have a fresh reinstall of Wampserver 2.0c on Windows XP Home Edition. I want to setup PEAR but cannot get past the initial configuration. Following the directions I run the go-pear.bat file and this is the dialogue I get...


Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : <HERE I HIT ENTER TO ACCEPT DEFAULT>

Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.

1. Installation base ($prefix) : C:\wamp\bin\php\php5.2.6
2. Temporary directory for processing : C:\wamp\bin\php\php5.2.6\tmp

3. Temporary directory for downloads : C:\wamp\bin\php\php5.2.6\tmp

4. Binaries directory : C:\wamp\bin\php\php5.2.6
5. PHP code directory ($php_dir) : C:\wamp\bin\php\php5.2.6\pea
r
6. Documentation directory : C:\wamp\bin\php\php5.2.6\doc
s
7. Data directory : C:\wamp\bin\php\php5.2.6\dat
a
8. User-modifiable configuration files directory : C:\wamp\bin\php\php5.2.6\cfg

9. Public Web Files directory : C:\wamp\bin\php\php5.2.6\www

10. Tests directory : C:\wamp\bin\php\php5.2.6\tes
ts
11. Name of configuration file : C:\wamp\php\pear.ini
12. Path to CLI php.exe :

1-12, 'all' or Enter to continue: (HERE I ALSO HIT ENTER)
**ERROR**
Please, enter the php.exe path.

==end of paste==

I have tried to change different settings, but the ERROR ends up being the same (not a very helpful error message). Help.

Options: ReplyQuote
Re: Error in installing PEAR
Posted by: toivo (---.nsw.bigpond.net.au)
Date: June 23, 2008 10:50PM

Hi,

If you have changed the settings, they may be all over the place now. The default settings work:

- 9 should point to your document root
- 11 pear.ini file is or will be in c:\windows
- 12 path to cli php.exe is c:\wamp\bin\php\php5.2.6

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: Error in installing PEAR
Posted by: revdave (---.dsl.iowatelecom.net)
Date: June 24, 2008 03:22PM

Thanks, tried those but it didn't work.

I did get it fixed though. I found someone suggest somewhere (and I can't find the link today) to remove all the PEAR related Environment Variables in Windows. Right click My Computer -> Properties -> Advanced -> Environment Variables.

I had some old variables there from the earlier Pear installation. Once those were gone, then the go-pear.bat file ran the defaults perfectly.

Options: ReplyQuote
Re: Error in installing PEAR
Posted by: toivo (---.nsw.bigpond.net.au)
Date: June 24, 2008 04:04PM

Thanks for the update!

Cheers,

toivo
Sydney, Australia

Options: ReplyQuote


Sorry, only registered users may post in this forum.