Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

前端 未结 29 2569
天涯浪人
天涯浪人 2020-11-21 22:57

I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for repor

29条回答
  •  故里飘歌
    2020-11-21 23:21

    You can properly fix this by changing memory_limit on fastcgi/fpm:

    $vim /etc/php5/fpm/php.ini
    

    Change memory, like from 128 to 512, see below

    ; Maximum amount of memory a script may consume (128 MB)
    ; http://php.net/memory-limit
    memory_limit = 128M
    

    to

    ; Maximum amount of memory a script may consume (128 MB)
    ; http://php.net/memory-limit
    memory_limit = 512M
    

提交回复
热议问题