php8.2 安装swoole扩展 发现报错 此处记录
- 使用pecl安装
sudo pecl install swoole
...
# 发现报错
/opt/homebrew/Cellar/php@8.2/8.2.15/include/php/ext/pcre/php_pcre.h:23:10: fatal error: 'pcre2.h' file not found
#include "pcre2.h"
^~~~~~~~~
1 error generated.
make: *** [ext-src//php_swoole.lo] Error 1
- 试试源码编译安装呢
下载源码地址
wget

1435

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



