windows xp下安装pear


windows xp下安装pear

环境:PHP4.3.10 + Windows XP

安装步骤:

1) 安装前的工作
安装PHP后所产生的文件夹下面有一个go-pear.bat文件
(我的是 C:/PHP/go-pear.bat)

2) 执行installer
双击go-pear.bat,有问答时,全部按“Enter”

3) 追加路径
打开你的php.ini文件,在

; Paths and Directories ;

下面看一下有没有"include-path=",没有就追加,有的话就加写pear
include-path=".;C:\PHP;C:\PHP\smarty\libs; c\:php\pear"

4) 查看PHP文件夹
除了go-pear.bat文件,又多了pear.bat和PEAR_ENV.reg

5) PEAR的安装

« 
» 

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3