1.首先要下载phploc,https://github.com/sebastianbergmann/phploc
2.以我的环境php5.3.6-nts为例:
(1)使用windows命令行,进入d:/amp/php5.3.6-nts/PEAR目录,
(2)运行命令D:\amp\php-5.3.6-nts\PEAR>..\php.exe go-pear.phar,以安装pear,然后按默认回车即可,最后系统提示在PEAR目录有一个PEAR_ENV.reg,你要双击运行一下,注册环境变量
2015 © DONY. ALL Rights Reserved. 闽ICP备09025082号-1