2014-01-08 52 views
1

我已經習慣了Debian,但這次我要在CentOS上安裝PHP-FPM。我試過,也許10個不同的導遊(這一個),但我每次運行時間,我得到這樣的輸出:CentOS:未能安裝PHP-FPM

Loaded plugins: downloadonly, fastestmirror 
Loading mirror speeds from cached hostfile 
* base: yum.singlehop.com 
* epel: mirrors.solfo.com 
* extras: linux.mirrors.es.net 
* remi: mirrors.mediatemple.net 
* remi-php55: mirrors.mediatemple.net 
* updates: mirrors.easynews.com 
Setting up Install Process 
No package php-fpm available. 
Error: Nothing to do 

這是我remi.repo

[remi] 
name=Les RPM de remi pour Enterprise Linux 6 - $basearch 
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/ 
mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror 
enabled=1 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi 

[remi-php55] 
name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch 
#baseurl=http://rpms.famillecollet.com/enterprise/6/php55/$basearch/ 
mirrorlist=http://rpms.famillecollet.com/enterprise/6/php55/mirror 
# WARNING: If you enable this repository, you must also enable "remi" 
enabled=1 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi 

[remi-test] 
name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch 
#baseurl=http://rpms.famillecollet.com/enterprise/6/test/$basearch/ 
mirrorlist=http://rpms.famillecollet.com/enterprise/6/test/mirror 
# WARNING: If you enable this repository, you must also enable "remi" 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi 

[remi-debuginfo] 
name=Les RPM de remi pour Enterprise Linux 6 - $basearch - debuginfo 
baseurl=http://rpms.famillecollet.com/enterprise/6/debug-remi/$basearch/ 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi 

[remi-php55-debuginfo] 
name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch - debuginfo 
baseurl=http://rpms.famillecollet.com/enterprise/6/debug-php55/$basearch/ 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi 

[remi-test-debuginfo] 
name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch - debuginfo 
baseurl=http://rpms.famillecollet.com/enterprise/6/debug-test/$basearch/ 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi 

這是我epel.repo

[epel] 
name=Extra Packages for Enterprise Linux 6 - $basearch 
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch 
mirrorlist=https://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 clean allyum update沒有任何成功都沒有。

這讓我瘋狂。我究竟做錯了什麼?

回答