安装步骤
1、
2、 执行 php D:\php\pear\go-pear.phar
3、local
- 下载go-pear.phar 到 D:\php\pear\(下载目录自定义) ps:下载地址:http://pear.php.net/go-pear.phar (网页直接ctrl+s保存)
- 执行
php D:\php\pear\go-pear.phar
输入: local
- 输入: yes
- 输入:13 后弹出对话框选择php.exe所在的目录
- 按回车
- 输入:Y
具体安装过程如下所示
C:\Users\pc>php D:\php\pear\go-pear.phar
Warning: Private methods cannot be final as they are never overridden by other classes in D:\php\pear\go-pear.phar on line 339
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : local
Please confirm local copy by typing 'yes' : yes
Below is a suggested file layout for your new PEAR installation. To