在编译某些php的拓展包的时候会出现报错:
phpize
error:Can't find PHP headers in /usr/include/php
原因:缺少了php-devel依赖,phpize是属于php-devel中的东西,缺少php-devel则会报错,phpize目的是为了编译拓展包
解决:
安装php-devel即可
yum install -y php-devel
在编译某些php的拓展包的时候会出现报错:
phpize
error:Can't find PHP headers in /usr/include/php
原因:缺少了php-devel依赖,phpize是属于php-devel中的东西,缺少php-devel则会报错,phpize目的是为了编译拓展包
解决:
安装php-devel即可
yum install -y php-devel