Mac M1报错: fatal error: ‘pcre2.h‘ file not found 解决方案

ln -s /opt/homebrew/include/pcre2.h /opt/homebrew/Cellar/[email protected]/7.4.16/include/php/ext/pcre/pcre2.h

注意替换版本路径

你可能感兴趣的:(php,php)