Can’t find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
[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安装即可。