PHP unable to start if "apc.shm_size" has "M" or "G" unit
- by apasajja
Using: Ubuntu 10.04, PHP 5.3.10, apc 3.1.3
PHP and APC installed using below repo:
deb http://ppa.launchpad.net/brianmercer/php5/ubuntu lucid main
deb-src http://ppa.launchpad.net/brianmercer/php5/ubuntu lucid main
If I put apc.shm_size=3G or apc.shm_size=3000M in /etc/php5/fpm/conf.d/apc.ini, PHP unable to start.
However, if I put only number without M or G unit, it will start and run.
By default, if put only number, what unit is it means? It I put 3000 does it means 3000 MB?