Unexpected Connection Reset: A PHP or an Apache issue?

后端 未结 8 589
时光说笑
时光说笑 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:51

    I thought I would add my own experience as well.

    I was getting the same error message, which in my case was caused by a PHP error in an exception.

    The culprit was a custom exception class that did some logging internally, and a fatal error occurred in that logging mechanism. This caused the exception to not be triggered as expected, and no meaningful message to be displayed either.

提交回复
热议问题