yum install php-pear* on centos(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*的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:yum 在 centos 上安装 php-pear*


- Laravel 仓库 2022-01-01
- Mod使用GET变量将子域重写为PHP 2021-01-01
- PHP Count 布尔数组中真值的数量 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- 没有作曲家的 PSR4 自动加载 2022-01-01
- 带有通配符的 Laravel 验证器 2021-01-01
- 从 PHP 中的输入表单获取日期 2022-01-01
- 如何定位 php.ini 文件 (xampp) 2022-01-01
- SoapClient 设置自定义 HTTP Header 2021-01-01
- 正确分离 PHP 中的逻辑/样式 2021-01-01