Home  >  Article  >  php教程  >  windows xp下安装pear

windows xp下安装pear

WBOY
WBOYOriginal
2016-06-13 12:36:16900browse

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_ENV.reg文件,选择“ok”,即可完成修改

6) 环境参数的自动设定
    双击pear.bat文件即可

7) 确认安装成功与否
    打开prompt command,输入“pear list”看安装在文件夹pear(我的是:c\:php\pear)下面library是否都显示出来了

想了解更多的内容,可以参考PEAR的安装
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn