Home

WAMP PEAR installation

E-mail Print
Share/Save/Bookmark
WAMP installation is quite straight forward. But I've done some searching before I've found how to install PEAR with it.

Here is how to:

  1. locate go-pear.php (I have it in C:\wamp\bin\php\php5.2.6)
  2. run go-pear.php
  3. select local
  4. change directories or enter if you use defaults
  5. select Yes if you want installer to automatically configure php.ini
I wanted to install phpDocumentor package. Here is how its done:
  1. locate pear.bat (I have it in C:\wamp\bin\php\php5.2.6)
  2. open this in location in command prompt (cmd) (ie. cd C:\wamp\bin\php\php5.2.6)
  3. run pear install --alldeps PhpDocumentor
To install phpCodeSniffer
  1. pear install --alldeps PHP_CodeSniffer
To install PhpUnit
  1. pear channel-discover pear.phpunit.de
  2. pear install --alldeps phpunit/PHPUnit
Hits: 6609
Comments (3)Add Comment
May 10, 2009     
...
Thanks, I was looking for it :)
AHHP | 213.217.35.10
July 20, 2009     
"How To"
Great article, except after installing PHPCodeSniffer how do I execute it?
adam | 78.105.115.195
March 24, 2010     
doesn't seem to work in 5.3.0 on Windows 7
can't run go-pear - it throws a "can't open stream" error. tried sourceforge sudo but can't figure out what it wants as a passphrase. if i run it with runas it runs in a new cmd window and closes too quick for me to catch what fails.

pear.bat doesn't seem to exist in 5.3.0 as installed with wamp

marty | 99.148.163.169

Write comment

busy
Last Updated ( Tuesday, 01 July 2008 08:50 )  

Sponsored Links

My friends

Bookingpoint
partner websites

Donate

Do you find content useful? Please donate so I can cover my hosting expenses! Thanks!