I installed php 7.4 onto OSX 12.1 onto a MacBook with Apple M1 Max Chip.
I followed this instruction: https://getgrav.org/blog/macos-monterey-apache-mysql-vhost-apc
Now I try to install APCu. But I get this error message:
In file included from /private/tmp/pear/temp/apcu/php_apc.c:34: In file included from /private/tmp/pear/temp/apcu/apc_iterator.h:26: /opt/homebrew/Cellar/php@7.4/7.4.27/include/php/ext/pcre/php_pcre.h:25:10: fatal error: 'pcre2.h' file not found #include "pcre2.h" ^~~~~~~~~ 1 error generated. make: *** [php_apc.lo] Error 1 ERROR: `make' failed
How can I fix that problem?
Thanks for help.