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?
Yes, php comes with wamp and when you install wamp server on your pc, php also get installed. you can start php and other services automatically or manually, its upto you.
Download: Go to https://www.wampserver.com/en/ and install the version that is appropriate for your system. After installation, run the installer. During this part, you can change your default browser if you want. You can go ahead with the default options or add more as per your liking.
In XAMPP, the PEAR framework is located in the /Applications/XAMPP/xamppfiles/bin directory and the current version ships with Mail – along with many other PEAR packages – already installed in the /Applications/XAMPP/xamppfiles/lib/php directory. To upgrade Mail and its dependencies, open Terminal and type: Code. Code.
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!)
Rather new to pear myself, but my answer to a similar question: Running Wampserver 2.2 on Win7 Professional 64bit working with PHP 5.3.8 I have found a few issues with standard way of installing with go-pear. I downloaded the go-pear.phar and ran that via cmd with no deprecated errors etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With