Cannot find config.m4
Linux 2023/9/7 13:30:05 点击:不统计
http://%77%77%77%2E%66网站制作%6F学习网%72%61%73%70%2E%63%6E
在linux 安装php扩展,一般php 的扩展都会在php的安装包ext中, 我在安装opesssl中出现 Cannot find config.m4。
运行命令如下:
>cd /home/php8/ext/openssl
> /usr/local/php/bin/phpize
提示
phpize 2 Cannot find config.m4.
解决方法:
将目录中的config0.m4直接改名为config.m4然后在执行phpize
> /usr/local/php/bin/phpize
Configuring for:
PHP Api Version: 20210902
Zend Module Api No: 20210902
Zend Extension Api No: 420210902
这样就可以了。
这样就解决了 Cannot find config.m4