安装环境:windows2008+php5.2.6+iis7
1、确认php目录下是否有pear/go-pear.phar。用install安装的php,没有pear/go-pear.phar,可以打开 http://pear.php.net/go-pear.phar ,把里面的内容复制另存到php目录pear/go-pear.phar 。
2.开始-运行-cmd-输入 php pear/go-pear.phar。没有把php目录加入环境变量的请先切换到该目录下。提示
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :直接默认回车
显示
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type ‘all’ to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : d:\php
2. [...]


最近评论