IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    phpize安装插件报错:Can’t find PHP headers in /usr/include/php

    二愣子小强发表于 2015-12-17 07:01:08
    love 0

    Can’t find PHP headers in /usr/include/php
    The php-devel package is required for use of this command.

    在安装scws的时候出现过这个错误。

    [root@localhost scws-1.2.2]# /usr/bin/phpize
    Can't find PHP headers in /usr/include/php
    The php-devel package is required for use of this command.

    这是因为没有安装php-devel插件,直接使用yum安装。
    因为是PHP插件,先查看PHP版本,通过php -v查看,在上一篇文章中,我们把php从5.3升级到5.5了,那命令就是这样的。

    [root@localhost scws-1.2.2]# yum install php55-php-devel

    会提示下载几个依赖包,选择Y安装即可。


    本文固定链接:成事博客→phpize安装插件报错:Can’t find PHP headers in /usr/include/php


沪ICP备19023445号-2号
友情链接