I have Nginx + php-fpm + Mysql. With the php memory settings, I always set this in php.ini like this:
memory_limit = 256M
Now, I bumped into another similar looking setting in
pool.d/www.conf file like this:
;php_admin_value[memory_limit] = 32M
Although the doc says what that does, I couldnt read anywhere on what's the difference between memory_limit setting in
php.ini and the
Do I need to set both or setting both makes it redundant?
Under what scenario do I need to specify the limit in
php_admin_value[memory_limit] instead of adding it to
Can someone clear my confusion please?