Installing PEAR on WAMP

Fortunately, this was a lot simpler than I expected it to be. Here are my notes to install PEAR on a WampServer:

  1. Run ยป cmd
  2. cd \[path to wamp]\bin\php\php5.x.x
  3. Run go-pear.bat
  4. Follow the on-screen instructions (use ENTER for defaults)
  5. In an explorer window, navigate to the same PHP directory as above and run PEAR_ENV.reg. This will add PEAR to your environmental variables list.

Of course, replace [path to wamp] and 5.x.x with the appropriate values. Once you’re done, PEAR should be installed properly on your system :)

If you enjoyed this article, please share it with a friend!

One Response to Installing PEAR on WAMP

  1. sangram says:

    I tried it ,but it give some manifest error,can you provide me some resource where i can find out how to install on window & wamp using zip file to download.

    Mean while I am googling out.

    Thanks