I tried installing APC with pecl on OS X Lion (sudo pecl install apc
) and it complained about a missing pcre.h file:
In file included from /private/tmp/pear/temp/APC/apc.c:44:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not found
#include "pcre.h"
So I used MacPorts to install the pcre package (sudo port install pcre
) but it still complains. How can I fix this?