Apache-2.2
在 CentOS 伺服器上安裝 Apache + PHP
我正在嘗試使用 YUM 在 CentOS 上安裝 Apache 和 PHP,但不斷收到這些錯誤。有誰知道怎麼了?謝謝!
Loading mirror speeds from cached hostfile * c5-testing: dev.centos.org Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package httpd.i386 0:2.2.8-1.el5s2.centos set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: httpd i386 2.2.8-1.el5s2.centos c5-testing 1.0 M Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 1.0 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: Package perl-libapreq needs perl(Apache::Table), this is not available. Package perl-libapreq needs perl(mod_perl) >= 1.17, this is not available. Package perl-libapreq needs perl(mod_perl) >= 1.17, this is not available. Package apache-devel needs apache = 1.3.41, this is not available. Complete! bash-3.2#
您正在使用測試儲存庫(c5-testing)。查看目錄 /etc/yum.repos.d 的內容…通常,一旦禁用此儲存庫,問題就會消失。
命令是什麼?
嘗試這個:
yum -y 更新httpd
高溫高壓