macos使用pecl安装扩展报错fatal error: ‘pcre2.h’ file not found

707次阅读
没有评论

共计 109 个字符,预计需要花费 1 分钟才能阅读完成。

ln -s /opt/homebrew/include/pcre2.h /opt/homebrew/Cellar/php@7.4/7.4.16/include/php/ext/pcre/pcre2.h

注意替换命令中的路径配置

正文完
加入官方交流QQ群:778957856
post-qrcode
 0
clark
版权声明:本站原创文章,由 clark 2024-01-13发表,共计109字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)