APC update (3.1.4) – configuration notice

APC finally follows the standard of using suffixed values for memory sizes specified inside your php.ini (or APC’s dedicated ini). So if you encounter a

PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files

while still having something like (e.g. in /etc/php.d/apc.ini)

; The size of each shared memory segment in MB.
apc.shm_size=512

in your configuration, its enough to append the respective unit indicator (M = Mega, G = Giga) to the number in order to update your configuration to comply with the requirements.

apc.shm_size=512M

Leave a Reply

You must be logged in to post a comment.