Windows上未启用PHP扩展APCU

时间:2014-09-19 14:03:39

标签: php symfony apc php-extension

我正在Windows上使用WAMPSERVER。我已经下载了APC以及APCU PHP扩展并启用了它。现在我运行Symfony2项目时收到错误

Unable to use ApcUniversalClassLoader as APC is not enabled 

在phpinfo中,它显示为此块enter image description here

在我的php.ini文件中,我添加了以下代码行

[APC]
;specifies the size for each shared memory segment 8MB to start
apc.shm_size=128M
;max amount of memory a script can occupy
apc.max_file_size=1M
apc.ttl=0
apc.gc_ttl=3600
; means we are always atomically editing the files
apc.file_update_protection=0
apc.enabled=1
apc.enable_cli=1
apc.cache_by_default=1
apc.include_once_override=0
apc.localcache=0
apc.localcache.size=512
apc.num_files_hint=1000
apc.report_autofilter=0
apc.rfc1867=0
apc.slam_defense=0
apc.stat=1
apc.stat_ctime=0
apc.ttl=7200
apc.user_entries_hint=4096
apc.user_ttl=7200
apc.write_lock=1

有人可以告诉我我错过了什么吗?

0 个答案:

没有答案