当前位置:Gxlcms > PHP教程 > centos安装pear

centos安装pear

时间:2021-07-01 10:21:17 帮助过:335人阅读

安装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教程有兴趣的朋友有所帮助。

人气教程排行