Open dlinge opened 8 years ago
extension=apc.so
apc.enabled=1
apc.shm_segments=1
apc.shm_size=256M
apc.num_files_hint=7000
apc.user_entries_hint=4096
apc.ttl=7200
apc.user_ttl=7200
apc.gc_ttl=3600
apc.stat=1
apc.cache_by_default=1
apc.use_request_time=1
apc.slam_defense=0
apc.stat_ctime=0
apc.canonicalize=1
apc.write_lock=1
apc.report_autofilter=0
apc.rfc1867=0
apc.rfc1867prefix =upload
apc.rfc1867_name=APC_UPLOAD_PROGRESS
apc.rfc1867_freq=0
apc.rfc1867_ttl=3600
apc.lazy_classes=0
apc.lazy_functions=0`
Much cleaner 👍
php.ini
APC settings that I’ve been using. I’ve seen tutorials where “apc.shm_size=256” and I’ve also seen it as 128. Need to experiment, although 256M seems to be performing well.
[APC] extension=apc.so apc.enabled=1 apc.shm_segments=1 apc.shm_size=256M apc.num_files_hint=7000 apc.user_entries_hint=4096 apc.ttl=7200 apc.user_ttl=7200 apc.gc_ttl=3600 apc.stat=1 apc.cache_by_default=1 apc.use_request_time=1 apc.slam_defense=0 apc.stat_ctime=0 apc.canonicalize=1 apc.write_lock=1 apc.report_autofilter=0 apc.rfc1867=0 apc.rfc1867_prefix =upload_ apc.rfc1867_name=APC_UPLOAD_PROGRESS apc.rfc1867_freq=0 apc.rfc1867_ttl=3600 apc.lazy_classes=0 apc.lazy_functions=0