What's limiting my PHP resources?

后端 未结 3 653
深忆病人
深忆病人 2021-01-26 01:24

I\'m having a problem getting more memory out of PHP.

This is the error message:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to a         


        
3条回答
  •  醉梦人生
    2021-01-26 01:55

    My first instinct is to guess that PHP is reading a different php.ini.

    In Debian (and most likely Ubuntu), each version of PHP (cli, cgi, and apache) has its own copy of php.ini.

提交回复
热议问题