나는 php-fpm과 php-mysql과 nginx를 설치한 다음 그것을 제거하고 서버 커널을 업데이트합니다. 이제 php-fpm을 설치하고 싶을 때.. 설치하지 마세요.
$>uname -a
2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$>yum --enablerepo=remi install php php-fpm php-common php-gd php-mysql
Error: Package: php-5.4.37-1.el7.remi.x86_64 (remi)
Requires: httpd-mmn = 20120211x8664
Installing: httpd-2.2.15-39.el6.centos.x86_64 (base)
httpd-mmn = 20051115
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libsystemd-daemon.so.0()(64bit)
Error: Package: php-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libxml2.so.2(LIBXML2_2.9.0)(64bit)
Error: Package: php-mysql-5.4.37-1.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.37-1.el7.remi
Installed: php-pdo-5.5.20-2.el6.remi.x86_64 (@remi-php55)
php-pdo(x86-64) = 5.5.20-2.el6.remi
Available: php-pdo-5.3.3-38.el6.x86_64 (base)
php-pdo(x86-64) = 5.3.3-38.el6
Available: php-pdo-5.3.3-40.el6_6.x86_64 (updates)
php-pdo(x86-64) = 5.3.3-40.el6_6
Available: php-pdo-5.4.36-1.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.36-1.el7.remi
Available: php-pdo-5.4.37-1.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.37-1.el7.remi
Available: php54w-pdo-5.4.36-1.w6.x86_64 (webtatic)
php-pdo(x86-64) = 5.4.36-1.w6
Available: php55w-pdo-5.5.20-1.w6.x86_64 (webtatic)
php-pdo(x86-64) = 5.5.20-1.w6
Available: php56w-pdo-5.6.4-1.w6.x86_64 (webtatic)
php-pdo(x86-64) = 5.6.4-1.w6
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: systemd-units
Error: Package: php-mysql-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libpcre.so.1()(64bit)
Error: Package: php-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libpcre.so.1()(64bit)
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php-5.4.37-1.el7.remi.x86_64 (remi)
Requires: httpd-mmn = 20120211x8664
Available: httpd-2.2.15-39.el6.centos.x86_64 (base)
httpd-mmn = 20051115
Error: Package: php-5.4.37-1.el7.remi.x86_64 (remi)
Requires: php-cli(x86-64) = 5.4.37-1.el7.remi
Installed: php-cli-5.5.20-2.el6.remi.x86_64 (@remi-php55)
php-cli(x86-64) = 5.5.20-2.el6.remi
Available: php-cli-5.3.3-38.el6.x86_64 (base)
php-cli(x86-64) = 5.3.3-38.el6
Available: php-cli-5.3.3-40.el6_6.x86_64 (updates)
php-cli(x86-64) = 5.3.3-40.el6_6
Available: php-cli-5.4.36-1.el7.remi.x86_64 (remi)
php-cli(x86-64) = 5.4.36-1.el7.remi
Available: php-cli-5.4.37-1.el7.remi.x86_64 (remi)
php-cli(x86-64) = 5.4.37-1.el7.remi
Available: php54w-cli-5.4.36-1.w6.x86_64 (webtatic)
php-cli(x86-64) = 5.4.36-1.w6
Available: php55w-cli-5.5.20-1.w6.x86_64 (webtatic)
php-cli(x86-64) = 5.5.20-1.w6
Available: php56w-cli-5.6.4-1.w6.x86_64 (webtatic)
php-cli(x86-64) = 5.6.4-1.w6
Error: Package: php-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php-5.4.37-1.el7.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.4.37-1.el7.remi
Installed: php-common-5.5.20-2.el6.remi.x86_64 (@remi-php55)
php-common(x86-64) = 5.5.20-2.el6.remi
Available: php-common-5.3.3-38.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-38.el6
Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
php-common(x86-64) = 5.3.3-40.el6_6
Available: php-common-5.4.36-1.el7.remi.x86_64 (remi)
php-common(x86-64) = 5.4.36-1.el7.remi
Available: php-common-5.4.37-1.el7.remi.x86_64 (remi)
php-common(x86-64) = 5.4.37-1.el7.remi
Available: php54w-common-5.4.36-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.36-1.w6
Available: php55w-common-5.5.20-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.20-1.w6
Available: php56w-common-5.6.4-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.6.4-1.w6
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: systemd-sysv
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libxml2.so.2(LIBXML2_2.9.0)(64bit)
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: libsystemd-daemon.so.0(LIBSYSTEMD_DAEMON_31)(64bit)
Error: Package: php-fpm-5.4.37-1.el7.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.4.37-1.el7.remi
Installed: php-common-5.5.20-2.el6.remi.x86_64 (@remi-php55)
php-common(x86-64) = 5.5.20-2.el6.remi
Available: php-common-5.3.3-38.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-38.el6
Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
php-common(x86-64) = 5.3.3-40.el6_6
Available: php-common-5.4.36-1.el7.remi.x86_64 (remi)
php-common(x86-64) = 5.4.36-1.el7.remi
Available: php-common-5.4.37-1.el7.remi.x86_64 (remi)
php-common(x86-64) = 5.4.37-1.el7.remi
Available: php54w-common-5.4.36-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.36-1.w6
Available: php55w-common-5.5.20-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.20-1.w6
Available: php56w-common-5.6.4-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.6.4-1.w6
나는 무엇을하고 있는가 :(((( ?
답변1
시스템/서버에서 remi 저장소를 제거하십시오. 그런 다음 이 저장소를 추가합니다.
그런 다음 설치를 시도하십시오.
yum --enablerepo=remi install php php-fpm php-common php-gd php-mysql
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpm