Nginx or PHP FPM ignores memory_limit in php.ini

后端 未结 7 2248
被撕碎了的回忆
被撕碎了的回忆 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:06

    You can take Nginx out of the picture, it just passes the request on, it's in php-fpm running your php code.

    you might check your suhosin settings, suhosin.memory_limit.

    when you see your phpinfo output there should be 2 columns, master and local for memory_limit, what do these each show?

    128M is the default for memory_limit in php 5.3

提交回复
热议问题