【发布时间】:2011-04-29 12:42:18
【问题描述】:
我试图在 Google 中查找如何安装“APC”但没有找到方法。
有人知道怎么做吗?
- 顺便说一句,我有mac
【问题讨论】:
我试图在 Google 中查找如何安装“APC”但没有找到方法。
有人知道怎么做吗?
【问题讨论】:
【讨论】:
这在 OSX Lion 上(最终)对我有用:
从http://www.apachefriends.org/en/xampp-macosx.html#849下载并安装XAMPP Developer包
确保您已安装 Xcode
...和自动配置
sudo 端口安装自动配置
打开一个新终端并运行:
须藤苏-
导出 PATH=/Applications/XAMPP/xamppfiles/bin/:/opt/local/bin/:$PATH
xcode-select -switch /Applications/Xcode.app
CFLAGS="-arch i386" /Applications/XAMPP/xamppfiles/bin/pecl install apc
重启 Apache
说明改编自多个来源,包括:
【讨论】: