PHP APC module. Any flaws?

I wanted to know if anyone thought there are any flaws in using APC? In addition, I would be interested to consider these options below and get your opinion on them.

Thanks.

; Enable apc extension module extension = apc.so ; Options for the apc module apc.enabled=1 apc.shm_segments=1 apc.optimization=0 apc.shm_size=256M apc.ttl=7200 apc.user_ttl=7200 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/apc.XXXXXX apc.enable_cli=1 apc.cache_by_default=1 
+6
php apc apache2
source share
1 answer

Almost none, especially if you don't use cache bytecode at all. Having said that, here you may need to know:

  • APC is an optional piece of software, so if there is an error in APC, your site may be affected by your site. This happens from time to time, but APC is widely used software, so the likelihood that you will encounter an error that has not yet been found and fixed is quite low if it does not have serious dark magic with PHP.

  • Beware of scripts that change very often or applications that generate a large number of files that cannot be reused (some template systems can do this). Those that will eat up your memory and reduce caching efficiency, use apc.filters to ignore such files.

+10
source share

All Articles