PEAR intalláció Wamp-ra (I.)

forrás: http://bdhacker.wordpress.com/2012/02/18/installing-pear-in-windows-wamp/

Go to the directory where PHP is located. Typically, this is <PATH-TO-YOUR-WAMP-INSTALLATION>binphpphp5.3.8

We’ll call this path “PHP’s location” throughout this article.

  1. Download “go-pear.phar” from this location: pear.php.net/go-pear.phar
  2. Create a folder “pear” in your PHP’s location
  3. Put the downloaded “go-pear.phar” file in this location.

Open a command prompt with administrative privilege. For this, click on start menu, type “cmd” – you can see the cmd.exe icon. Right-click on this icon and click “Run as administrator”

Cmd.exe will open. Go to the direcotry of your PHP’s location, by typing “cd” command. For example, my wamp is located in “D:wamp”, so I write following command:

1 D:
2 cd wampbinphpphp5.3.8

Now run the downloaded file, by typing:

1 php .peargo-pear.phar

Blogbook : PHP | Javascript | Laravel | Corcel | CodeIgniter | VueJs | ReactJs | WordPress