本人安装swoole出现错误
Cannot find config.m4
Make sure that you run '/usr/local/php5.6.23/bin/phpize' in the top level source directory of the module
解决方法:
1. find /* -name openssl 找到自己安装PHP的openssl 路径

2. 进入你的openssl目录 拷贝config0.m4为config.m4
cd /home/php-5.6.37/ext/openssl
![]()
cp ./config0.m4 ./config.m4
结果运行phpize:

成功解决问题
本文详细记录了在安装Swoole过程中遇到的Cannot find config.m4错误及其解决方案。通过查找并复制openssl模块的config0.m4文件为config.m4,最终成功解决了phpize运行的问题。
1万+

被折叠的 条评论
为什么被折叠?



