7

I want to install PEAR on my windows 7. I have Wamp 2.1 with php 5.3.4 It seems that there's no such files as "go-pear.bat" in this new version of wamp.

Then how can I install PEAR ?

Thank you.

cweiske
  • 30,033
  • 14
  • 133
  • 194
httpete
  • 5,875
  • 4
  • 32
  • 41

2 Answers2

5

I have followed these steps and it works for me 1. download go-pear.phar right from pear website. http://pear.php.net/go-pear.phar 2. Copy this file in c:/wamp/bin/php/php5.3.8 3. Open command promt. 4. Go to the php5.3.8 directory using cd c:/wamp/bin/php/php5.3.8 5. run the command php go-pear.phar

Thanks

  • @user1153966 I get: PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to alloca te 91 bytes) in Unknown on line 0 Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 91 bytes) in Unknown on line 0 – imperium2335 Aug 22 '13 at 06:41
3

Please follow the PEAR installation instructions on the PEAR website. And yes, you can follow the Unix steps to get a go-pear.phar file.

cweiske
  • 30,033
  • 14
  • 133
  • 194
  • 1
    i have the same problem...using the current go-pear.phar file says my PHP version v 5.3.4 is too new :( Any updated version for go-pear.phar? – dade Jul 27 '11 at 14:15