我在Windows开发服务器上安装了APC。启用APC并重启apache后,我们的页面无法加载。它们超时,我只是在浏览器上重置连接或自动停止apache服务。
System Windows NT 6.1 build 7601 (Windows Server 2008 R2 Web Server Edition Service Pack 1) i586
Architecture x86
Server API Apache 2.4 Handler Apache Lounge
Thread Safety enabled
PHP Extension Build API20100525,TS,VC9
Apache Version Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4
Virtual Server Yes
APC运行时设置
extension=php_apc_319_php54_vc9_win7-2008.dll
[APC]
; Enable/disable APC
apc.enabled = 1
; PHP file cache 1 hour
apc.ttl=3600
; User cache 2 hour
apc.user_ttl=7200
; Garbage collection 1 hour
apc.gc_ttl=3600
; Setting this to 0 will give you the best performance, as APC will
; not have to check the IO for changes.
apc.stat=1
从中下载APC预编译二进制版本 http://dev.freshsite.pl/php-accelerators/apc.html
我还检查了php错误日志,我没有看到任何东西。 非常感谢任何帮助,提前谢谢。