Nginx or PHP FPM ignores memory_limit in php.ini

后端 未结 7 2205
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 18:49

Server info: Ubuntu Server, Nginx, PHP FPM

in /etc/php5/fpm/php.ini I have: memory_limit = 512M in /etc/php5/fpm/php-fpm.conf

相关标签:
7条回答
  • 2020-12-15 19:30

    Just FYI,

    you should also check in /etc/php5/fpm/pool.d for any files.

    It just happened to me that no matter what I wrote on /etc/php5/fpm/php-fpm.conf it would get overrided by /etc/php5/fpm/pool.d/www.conf !

    So if none of the above answers are not working for you, you should check this (I just lost half hour to this).

    0 讨论(0)
提交回复
热议问题