從問題感動
更新:我找到了答案(由KnownHost幫助)
正確的語法,排除一個目錄是:
apc.filters = "-my_directory/.*";
多目錄是:
apc.filters = "-my_directory/.*,-my_directory2/.*";
我希望這可以幫助那裏的人,因爲我無法弄清楚,或找到任何信息。
感謝
在資料齊全的興趣,這裏是我的APC運行時設置:
apc.cache_by_default 1
apc.canonicalize 1
apc.coredump_unmap 0
apc.enable_cli 0
apc.enabled 1
apc.file_md5 0
apc.file_update_protection 2
apc.filters
apc.gc_ttl 3600
apc.include_once_override 0
apc.lazy_classes 0
apc.lazy_functions 0
apc.max_file_size 2M
apc.mmap_file_mask /tmp/apc.XXXXXX
apc.num_files_hint 3000
apc.preload_path
apc.report_autofilter 0
apc.rfc1867 0
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 512M
apc.slam_defense 0
apc.stat 1
apc.stat_ctime 0
apc.ttl 7200
apc.use_request_time 1
apc.user_entries_hint 4096
apc.user_ttl 7200
apc.write_lock 1
來自其他用戶的評論表明,它也可能是必要設置apc.cache_by_default=0