yum 在 centos 上安装 php-pear* [英] yum install php-pear* on centos

查看:27
本文介绍了yum 在 centos 上安装 php-pear*的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 centos 上安装 pear.

I'm trying to install pear on my centos.

我使用*yum install php-pear**"来安装pear,它似乎安装成功.没有错误.我重新启动我的服务器.

I've used "*yum install php-pear**" to install pear and it seemed to install with success. No errors. I restart my server.

但是,当我检查 phpinfo() 时.我看到我的 php 仍然是使用--without-pear"构建的.

However when I check out phpinfo(). I see that my php is still built using "--without-pear".

yum 不应该用梨重建我的 php 吗?可能出了什么问题?

Isn't yum supposed to rebuild my php with pear? What would be possibly going wrong?

谢谢!

推荐答案

试试类似

$ pear list

$ pear info PEAR

- 现在,如果您在第一种情况下获得已安装软件包的列表,并在第二种情况下获得有关安装 pear 版本的信息,您就可以使用它了.

- now if you get a listing of installed packages in the first case and information on what version of pear is installed in the second you're ready to use it.

这篇关于yum 在 centos 上安装 php-pear*的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆