本文介绍了百胜在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仍然是使用"-with-pear "构建的.

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

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

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

谢谢!

推荐答案

尝试类似

$ pear list

$ pear info 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.

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

07-10 19:32