Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing PEAR on wampserver

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?

like image 964
Keyo Avatar asked Apr 26 '11 21:04

Keyo


People also ask

Do I need to install PHP after Wamp?

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.

How do I use Wampserver?

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.

What is pear in xampp?

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.


2 Answers

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!)

like image 76
mario Avatar answered Sep 29 '22 10:09

mario


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.

like image 21
David 'the bald ginger' Avatar answered Sep 29 '22 10:09

David 'the bald ginger'