Skip to content

Instantly share code, notes, and snippets.

@sanguis
Last active December 16, 2015 09:39
Show Gist options
  • Save sanguis/5414457 to your computer and use it in GitHub Desktop.
Save sanguis/5414457 to your computer and use it in GitHub Desktop.
apc settings for a shared nginx server
extension=apc.so
shm_segments=2
apc.shm_size = 150M
apc.user_ttl=7200
apc.gc_ttl=3600
apc.ttl=7200
apc.enable_cli=1
apc.stat=0
apc.stat_ctime=1
apc.file_update_protection=2
apc.cache_by_default=1
apc.use_request_time=1
apc.write_lock=1
apc.rfc1867=1
apc.rfc1867_prefix="upload_"
apc.rfc1867_name="APC_UPLOAD_PROGRESS"
apc.rfc1867_freq=0
apc.localcache=1
apc.filters = "+module$,+php$,+inc$, -install"
@sanguis
Copy link
Author

sanguis commented Apr 1, 2014

newer version is 6 times faster than previous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment