我刚刚在我的本地机器上安装了APC。
这是我的配置(现在完全没有php.ini配置)
apc.cache_by_default On
apc.canonicalize On
apc.coredump_unmap Off
apc.enable_cli Off
apc.enabled On
apc.file_md5 Off
apc.file_update_protection 2
apc.filters no value
apc.gc_ttl 3600
apc.include_once_override Off
apc.lazy_classes Off
apc.lazy_functions Off
apc.max_file_size 1M
apc.mmap_file_mask no value
apc.num_files_hint 1000
apc.preload_path no value
apc.report_autofilter Off
apc.rfc1867 Off
apc.rfc1867_freq 0
apc.rfc1867_name APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_
apc.rfc1867_ttl 3600
apc.serializer default
apc.shm_segments 1
apc.shm_size 32M
apc.slam_defense On
apc.stat On
apc.stat_ctime Off
apc.ttl 0
apc.use_request_time On
apc.user_entries_hint 4096
apc.user_ttl 0
apc.write_lock On我有一个stats vhost,我在其中放入了phpinfo.php & apc.php (提供的tools.dev前端脚本)
如果我首先请求tools.dev/phpinfo.php,那么如果我请求tools.dev/apc.php,我会得到phpinfo()
这很奇怪,我不明白为什么,我可以在重启服务器时重置问题。
我正在运行Zend Server,我自己在我的MacOSX10.6上编译了APC,并且扩展已经加载并正常工作。
谢谢你的帮助
发布于 2011-05-19 08:01:20
你不是第一个经历这种情况的人。在http://pecl.php.net/bugs/bug.php?id=11357上打开了一个错误罚单,但现在由于缺乏反馈而被暂停。也许你可以在这个bug上添加一个注释,并希望开发人员能帮助你找到并修复它。
https://stackoverflow.com/questions/5927472
复制相似问题