php运行一段时间后,部分页面打不开,查看nginx日志里面一直在报PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted 错误

解决办法:

修改配置文件php.ini文件

把 memory_limit = 128M

改成

memory_limit = 512M

重启php-fpm

/etc/init.d/php-fpm  restart

相关文章:

  • 2021-05-29
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2021-05-30
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2021-05-18
  • 2021-10-26
  • 2021-07-07
  • 2021-10-06
相关资源
相似解决方案