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: 4596
Comments (2)Add Comment
May 10, 2009     
...
Thanks, I was looking for it :)
AHHP | 213.217.35.10
July 21, 2009     
"How To"
Great article, except after installing PHPCodeSniffer how do I execute it?
adam | 78.105.115.195

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!