Fastest way to determine where PHP script exits

前端 未结 9 2301
故里飘歌
故里飘歌 2020-12-14 21:02

Say you have a large PHP project and suddenly, when attempting to run it, you just end up with a blank page. The script terminates and you want to find exactly where that is

9条回答
  •  醉梦人生
    2020-12-14 21:52

    Also check the error___logs for "memory_limit" errors in the Apache error_log.

    Memory Limit >= 10M Warning: (Set this to 10M or larger in your php.ini file)

    In my experience, scripts suddenly end without warning or notice when this happens.

提交回复
热议问题