PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 41007872 bytes)

前端 未结 4 672
半阙折子戏
半阙折子戏 2021-01-24 15:26

I\'m getting this error when I try to call the mail() function.

I tried adding ini_set(\'memory_limit\', \'64m\') to my index.php file - Which include()\'s

4条回答
  •  梦谈多话
    2021-01-24 16:28

    If I look at the SafeString class, I don't see a unsafeRaw() method, but there is a toUnsafeRawString() method. Did you try debugging?

    btw Why would you use this class if you're using the raw values anyway? That doesn't make any sense.

提交回复
热议问题