PHP 安装扩展 phpize
作者:互联网
报错
执行 phpize 时, 报如下错误:
grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No:
解决
// 先执行命令 xcode-select --install // 若不行,执行下面命令 cd /Library/Developer/CommandLineTools/Packages/ open macOS_SDK_headers_for_macOS_10.14.pkg
标签:php,No,phpize,扩展,Zend,include,usr,file,PHP 来源: https://www.cnblogs.com/hujingnb/p/10644488.html