我无法安装任何 php 扩展
已启用 Epel 存储库
Yum 已更新
yum 重新排序节目
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-soap 或者 yum --enablerepo=epel 安装 php-soap输出:
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
epel.repo内容
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
更新型多巴胺
yum 搜索 php:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink | 13 kB 00:00
* base: mirrors.dedipower.com
* epel: mirror01.th.ifl.net
* extras: mirrors.dedipower.com
* updates: mirror.as29550.net
======================================================= N/S Matched: php ========================================================
cups-php.x86_64 : Common Unix Printing System - php module
eclipse-phpeclipse.noarch : PHP Eclipse plugin
graphviz-php.x86_64 : PHP extension for graphviz
nntpgrab-php.x86_64 : PHP module which allows PHP scripts to communicate with NNTPGrab
rrdtool-php.x86_64 : PHP RRDtool bindings
uuid-php.x86_64 : PHP support for Universally Unique Identifier library
lighttpd-fastcgi.x86_64 : FastCGI module and spawning helper for lighttpd and PHP configuration
limph.noarch : A PHP5-compatible network host/service poller with web interface
tiquit.noarch : A PHP5-compatible help desk incident tracking/knowledgebase system
Name and summary matches only, use "search all" for everything.
UPD2 解决了。谢谢大家。问题是扩展 = php.*在我的yum配置文件