Installing PEAR on wampserver

Keyo picture Keyo · Apr 26, 2011 · Viewed 40.5k times · Source

All the guides for installing PEAR on wampserver, such as the Symfony guide, say I am to run a go-pear.bat script within some PEAR directory.

I am on wampserver 2.1 and there is no PEAR directory and no go-pear batch script to be found.

Is this just different because I have a newer version? Is there somewhere I can download these missing installation scripts?

Answer

mario picture mario · Apr 26, 2011

It's not installed per default on all setups.

But you can download the plain go-pear script for that: http://pear.php.net/go-pear
Either invoke it with php.exe go-pear or run it through your webserver as regular .php script. (It has a nice installation GUI!)