php - 安装php-devel centos 6的麻烦

标签 php centos

我正在安装 php-devel像下面

yum install php-devel

和如下错误
Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-ftp
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-ftp
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-ftp
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-xml
           Removing: php56w-xml-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-xml = 5.6.20-1.w6
           Obsoleted By: php-xml-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-xml-5.6.19-1.w6.x86_64 (webtatic)
               php56w-xml = 5.6.19-1.w6
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-bz2
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-bz2
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-bz2
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-cli
           Removing: php56w-cli-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-cli = 5.6.20-1.w6
           Obsoleted By: php-cli-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-cli-5.6.19-1.w6.x86_64 (webtatic)
               php56w-cli = 5.6.19-1.w6
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-pcre
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-pcre
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-pcre
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-posix
           Removing: php56w-process-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-posix
           Obsoleted By: php-process-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-process-5.6.19-1.w6.x86_64 (webtatic)
               php56w-posix
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-tokenizer
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-tokenizer
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-tokenizer
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-zlib
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-zlib
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-zlib
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

请帮我

最佳答案

尝试先安装 EPEL 6,

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
yum install epel-release-latest-6.noarch.rpm
rm -rf epel-release-latest-6.noarch.rpm

完成后,尝试运行,
yum install php

关于php - 安装php-devel centos 6的麻烦,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36881804/

相关文章:

php - WordPress:CSS 属性被取消了?

javac : command not found

centos - CentOS 上的 Crontab 配置问题?

php - 无法在 centos 7 中安装 ssh2

php - MySQL - LEFT JOIN - 如何获得我需要的值

php - Prestashop:显示产品的所有属性引用

centos - 我应该使用什么类型的安装在运行 CentOS 的 4 台服务器上安装 Condor

apache - SVN 重定向周期

php - 将图像路径存储在mysql中并将图像存储在文件夹中

javascript - 仅在第一个 <p> 上更改文本而不使用 Id 或 Class