CentOS7,PHP7.2.8,安装扩展,执行phpize时报错:
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
解决方案,安装对应版本的php-devel
yum --enablerepo=ius-archive install php72u-devel
参考:
https://wangzq-phper.iteye.com/blog/2297792
https://centos.pkgs.org/7/webtatic-x86_64/php72w-devel-7.2.8-1.w7.x86_64.rpm.html