如何在cloudera quickstart上安装PHP7?

时间:2019-01-23 09:15:35

标签: php-7 cloudera-quickstart-vm

我正在尝试在cloudera quickstart 5.13.0上安装php 7,我对centos 7设置了相同的命令,但是我遇到了这个错误。

--> Finished Dependency Resolution Error: Package: php-common-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: php-cli-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit) Error: Package: php-cli-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libpcre.so.1()(64bit) Error: Package: php-json-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: php-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libpcre.so.1()(64bit) Error: Package: php-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: httpd-mmn = 20120211x8664
           Installed: httpd-2.2.15-45.el6.centos.x86_64 (@cloudera-centos-67)
               httpd-mmn = 20051115
           Available: httpd-2.2.15-69.el6.centos.x86_64 (base)
               httpd-mmn = 20051115 Error: Package: php-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit) Error: Package: php-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: php-cli-7.0.33-2.el7.remi.x86_64 (remi-php70)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

1 个答案:

答案 0 :(得分:0)

       Installed: httpd-2.2.15-45.el6.centos.x86_64 (@cloudera-centos-67)

看起来这不是CentOS 7,而是 CentOS 6 基本发行版。

按照wizard的说明,选择正确的发行版本。