安装 ImageMagic 库到 php

安装 ImageMagic 库到 php

当我尝试时sudo pecl install imagick收到此消息:

Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed

sudo yum install php-devel给我破坏的依赖关系:

Packages skipped because of dependency problems:
    php-5.3.3-27.el6_5.x86_64 from updates
    php-cli-5.3.3-27.el6_5.x86_64 from updates
    php-common-5.3.3-27.el6_5.x86_64 from updates
    php-devel-5.3.3-27.el6_5.x86_64 from updates
    php55w-5.5.13-2.w6.x86_64 from webtatic
    php55w-cli-5.5.13-2.w6.x86_64 from webtatic
    php55w-common-5.5.13-2.w6.x86_64 from webtatic
    php55w-mbstring-5.5.13-2.w6.x86_64 from webtatic
    php55w-pdo-5.5.13-2.w6.x86_64 from webtatic
    php55w-pgsql-5.5.13-2.w6.x86_64 from webtatic

这怎么解决呢?

相关内容