Nginx or PHP FPM ignores memory_limit in php.ini

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

    Ok this is daft but I had memory_limit set to 2GB, which isn't understood. When I changed that to 2000M it worked!

提交回复
热议问题