This is a good article on installing pear package manager on wamp . I just wanted to add the following information which will be useful is you have the following setup:
After go-pear.bat concluded, I did not find php.ini in this folder: C:\wamp\bin\apache\apache2.2.11\php.ini instead I accessed php.ini from Wampserver itself. Click on Wampserver in the task tray. Move the cursor to PHP and all the PHP options will show. Click on php.ini then do a search (Control-F) to find include_path. Enter the new include_path. For my installation the include_path is: include_path=".;c:\wamp\bin\php\php5.2.9-2\pear" .Save and close php.ini. Go back to Wampserver and stop all services. Start all services, and put online. Now open php.ini and search for include_path. The new include_path should be there. Just like your article says type "pear" in the command prompt. If all the pear commands are listed, then you did it correctly.
The other thing that was slightly different was the location of the index.php.txt file for the PEAR_Frontend_Web package. In my installation it was located at C:\wamp\bin\php\php5.2.9-2\docs\PEAR_Frontend_Web\docs\index.php.txt
This blog is about C++, CakePHP, Linux, PEAR, PHP, Pyrus, Apache, and MySQL and related topics.