WAMP PEAR installation
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:
- locate go-pear.php (I have it in C:\wamp\bin\php\php5.2.6)
- run go-pear.php
- select local
- change directories or enter if you use defaults
- select Yes if you want installer to automatically configure php.ini
I wanted to install phpDocumentor package. Here is how its done:
- locate pear.bat (I have it in C:\wamp\bin\php\php5.2.6)
- open this in location in command prompt (cmd) (ie. cd C:\wamp\bin\php\php5.2.6)
- run pear install --alldeps PhpDocumentor
To install phpCodeSniffer
- pear install --alldeps PHP_CodeSniffer
To install PhpUnit
- pear channel-discover pear.phpunit.de
- pear install --alldeps phpunit/PHPUnit
| < Prev | Next > |
|---|