本文介绍了在Windows / Apache的安装PHP APC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助安装和配置PHP APC我从在我的PHP的信息,我看

i need help installing and configuring PHP APC i have downloaded from http://downloads.php.net/pierre/ in my PHP info, i see

Compiler       MSVC9 (Visual C++ 2008) 
Architecture   x86

所以我下载。然后安装,我尝试添加

so i downloaded php_apc-5.3-nts-svn20100226-vc9-x86.zip. then to install, i tried adding

[PHP_APC]
extension=php_apc.dll

的php.ini 。重启动Apache失败。试图执行 PHP 在cmd中导致一个错误说 php5.dll缺少。但我怀疑如此。除去 php.ini中的2行修正错误。如何安装APC呢?

to php.ini. restarting Apache fails. trying to execute php in cmd results in an error saying php5.dll is missing. but i doubt so. removing the 2 lines from php.ini fixes the error. how can i install apc then?

推荐答案

更新:这是一个很老的答案。从那时起,我已经使用APC很好地php5.4和自升级到拆除APC php5.5,搬到了memcached的。

UPDATE: This is a very old answer. Since then I've used APC well with php5.4 and since the upgrade to php5.5 which removed APC, moved to memcached.

在Windows上,似乎PHP5.3不能与APC合作。我简单地使用php5.2.5,而不是因为它不是一个生产机器呢。

On Windows, seems php5.3 cannot work with APC. I simply use php5.2.5 instead as it's not a production machine anyway.

这篇关于在Windows / Apache的安装PHP APC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 18:00