Install PEAR with Wamp 2.1

五迷三道 提交于 2019-12-07 00:45:27

问题


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.


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/5994095/install-pear-with-wamp-2-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!