Linux 4 All

Best Linux tricks source

Configure APC module

This is a bit old as APC was replaced by Zend opcode cache. However here is a default “working” apc configuration file.

 

On RHEL based servers you can find it under

extension=apc.so
apc.enabled=1
apc.shm_size=256M
apc.ttl=7200
apc.user_ttl=7200
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.cache_by_default=1

If Apache keeps on SIGTERM-ing, increase shm_size value.

How to get IPV4 address from a log file arrow-right
Next post

arrow-left How to delete a file starting with a dash
Previous post

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2017 Linux 4 All