首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在CentOS 6.2上安装百胜

在CentOS 6.2上安装百胜
EN

Stack Overflow用户
提问于 2012-02-24 09:31:34
回答 1查看 11.6K关注 0票数 3

我不能安装任何php扩展

启用Epel存储库

yum repolist展示

代码语言:javascript
复制
repo id                                repo name                                                                      status
base                                   CentOS-6 - Base                                                                  5,932+362
epel                                   Extra Packages for Enterprise Linux 6 - x86_64                                 5,867+1,143
extras                                 CentOS-6 - Extras                                                                        4
updates                                CentOS-6 - Updates                                                                  334+83
repolist: 12,137

yum安装php-soapyum -enablerepo=epel install php输出:

代码语言:javascript
复制
    Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.dedipower.com
 * epel: mirror01.th.ifl.net
 * extras: mirrors.dedipower.com
 * updates: mirror.as29550.net
Setting up Install Process
No package php-soap available.
Error: Nothing to do
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-02-24 09:48:34

您应该检查/etc/yum.conf文件。这可能是因为有一行类似的内容: exclude=php* Wich将阻止您安装任何prevent。

如果您使用DirectAdmin进行ŕe,您可能应该查看以下内容:http://woshka.com/blog/linux/centos/direct-admin-control-panel/compile-and-enable-soap-into-php-with-directadmin-controlpanel-custombuild.html

票数 15
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9428373

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档