Reloading nginx & php5-fpm does not update changes to php.ini
I know there is already an answer to this but I also have had a similar problem to this one and Galen's answer did not help with me.
My answer is to instead of editing /etc/php5/fpm/php.ini
, edit your /etc/php5/fpm/php-fpm.conf
file and add to the end something like this:
php_admin_value[memory_limit] = 10M
Where memory_limit
is the value you are wanting to edit on your php.ini
and 10M
... I think you get the picture!
The issue is probably that you never actually restarted php-fpm. I had issues with this as well, apparently theres a bunch of different ways to restart php-fpm, and some of them dont work for certain environments.
https://serverfault.com/questions/189940/how-do-you-restart-php-fpm/506951
Try those and see if they reload it.