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*
基础教程推荐
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
