在OS X上的php上安装apc

时间:2012-08-18 04:32:52

标签: php macos apc pecl

我最近刚刚将我的PHP版本升级到5.4.6,之后我安装了APC并且工作正常。但现在APC不再存在了。我已将extension="apc.so"添加到php.ini文件并重新启动了Web服务器,但我仍然无法在那里看到它。做pecl安装apc 给了我:

pecl install apc
pecl/apc is already installed and is the same as the  released version 3.1.9

说它已经安装好了。有什么想法吗?

1 个答案:

答案 0 :(得分:0)

你是如何将PHP升级到5.4.6的?你试过http://php-osx.liip.ch/了吗?附带最近的APC

或尝试

pecl install --force apc