【发布时间】:2015-11-13 08:18:33
【问题描述】:
我正在尝试在 RHEL 6.3 上安装 Apache 和 PHP5,但我还没有成功。当我尝试添加 Remi、EPEL 存储库并运行时
yum --enablerepo=remi,remi-php55 install php-pecl-apc php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml
它传递了一个依赖失败:
Error: Package: libevent-last-2.0.22-1.el6.remi.x86_64 (remi)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-pdo-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-process-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: gd-last-2.1.1-2.el6.remi.x86_64 (remi)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
Error: Package: php-mysqlnd-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: libevent-last-2.0.22-1.el6.remi.x86_64 (remi)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-cli-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
Error: Package: php-cli-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: gd-last-2.1.1-2.el6.remi.x86_64 (remi)
Requires: libXpm.so.4()(64bit)
Error: Package: php-pecl-apcu-4.0.7-2.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-gd-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libXpm.so.4()(64bit)
Error: Package: php-mbstring-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-pecl-zip-1.12.5-1.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-cli-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-pecl-mongo-1.6.10-1.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-xml-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libxml2.so.2(LIBXML2_2.9.0)(64bit)
Error: Package: php-pgsql-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-pecl-memcached-2.2.0-3.el7.remi.5.5.x86_64 (remi-php55)
Requires: libsasl2.so.3()(64bit)
Error: Package: php-xml-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-mcrypt-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-common-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-pecl-igbinary-1.2.1-1.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-cli-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libpcre.so.1()(64bit)
Error: Package: php-gd-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libt1.so.5()(64bit)
Error: Package: php-gd-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libpng15.so.15()(64bit)
Error: Package: php-pecl-memcache-3.0.8-4.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php-pecl-msgpack-0.5.6-1.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-cli-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-gd-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libt1.so.5()(64bit)
Error: Package: php-gd-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libpng15.so.15()(64bit)
Error: Package: php-pecl-memcache-3.0.8-4.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php-pecl-msgpack-0.5.6-1.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-cli-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-pecl-mongo-1.6.10-1.el7.remi.5.5.x86_64 (remi-php55)
Requires: libsasl2.so.3()(64bit)
Error: Package: php-cli-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: php-pgsql-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libpq.so.5()(64bit)
Error: Package: php-common-5.5.28-1.el7.remi.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php-pecl-jsonc-1.3.7-1.el7.remi.5.5.x86_64 (remi-php55)
Requires: libc.so.6(GLIBC_2.14)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
注册频道redhat一定要使用yum仓库吗? 可能是什么错误?
我添加EPEL和remi如下。
CentOS 6 和 Red Hat (RHEL) 6 上的 Remi 依赖关系
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
CentOS 6 和红帽 (RHEL) 6
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
感谢您的帮助。
【问题讨论】: