输入banner图图片脚本导航/分类

centos安装pear

安装pear的具体流程如下:

1.下载go-pear.phar包

# wget http://pear.php.com/go-pear.phar

在当前用户有操作权限的前提下

2.运行

#php go-pear.phar 或者 /usr/local/php5/bin/php go-pear.phar (具体的要根据你的php 的安装路径)

3.点击回车两次...

4.查看你的pear的安装位置

#which pear

------结果:

/usr/local/php5/bin

以上就介绍了centos 安装 pear,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。