macos使用pecl安装扩展报错fatal error: ‘pcre2.h’ file not found
💡
原文中文,约500字,阅读约需2分钟。
📝
内容提要
本文提供了一个命令行代码示例,用于替换路径配置。
🎯
关键要点
- 提供了一个命令行代码示例
- 示例用于替换路径配置
- 命令示例为 ln -s /opt/homebrew/include/pcre2.h /opt/homebrew/Cellar/php@7.4/7.4.16/include/php/ext/pcre/pcre2.h
- 注意替换命令中的路径配置
➡️