Webeks.net - freelance programming
freelance programming - php, Joomla, Zend ...
Home :: Articles :: Programming :: Programming :: WAMP PEAR installation

WAMP PEAR installation

Written by Miha

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

blog comments powered by Disqus