报错信息: fatal error: ‘pcre2.h’ file not found #include “pcre2.h” 解决方案: $ ln -s /opt/homebrew/include/pcre2.h /opt/homebrew/Cellar/php@7.4/7.4.16/include/php/ext/pcre/pcre2.h