【发布时间】:2012-06-01 20:05:21
【问题描述】:
我尝试在 OS X Lion (sudo pecl install apc) 上使用 pecl 安装 APC,但它抱怨缺少 pcre.h 文件:
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"
所以我使用 MacPorts 安装 pcre 包 (sudo port install pcre) 但它仍然抱怨。我该如何解决这个问题?
【问题讨论】:
标签: php osx-lion apc osx-mavericks pecl