Unexpected Connection Reset: A PHP or an Apache issue?

后端 未结 8 582
时光说笑
时光说笑 2020-12-10 15:05

I have a PHP script that keeps stopping at the same place every time and my browser reports:

The connection to the server was reset while the page w

8条回答
  •  佛祖请我去吃肉
    2020-12-10 15:57

    My PHP was segfaulting without any additional information as to the cause of it as well. It turned out to be two classes calling each other's magic __call() method because both of them didn't have the method being called. PHP just loops until it's out of memory. But it didn't report the usual "Allowed memory size of * bytes exhausted" message, probably because the methods are "magic".

提交回复
热议问题