code_junkie

Incorrectly set up APC for PHP?

Nov 11th, 2011
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <?php
  2. print_r(apc_cache_info());
  3. ?>
  4.  
  5. ; Enable apc extension module
  6. extension = apc.so
  7. ; Options for the apc module
  8. apc.enabled=1
  9. apc.shm_segments=1
  10. apc.optimization=0
  11. apc.shm_size=32
  12. apc.ttl=7200
  13. apc.user_ttl=7200
  14. apc.num_files_hint=1024
  15. apc.mmap_file_mask=/tmp/apc.XXXXXX
  16. apc.enable_cli=1
  17. apc.cache_by_default=1
Add Comment
Please, Sign In to add comment