我今天谈到一个问题,即我的PHP软件包将在完成时(在海滩上)发出500个服务器错误。 该法典类似:
//many stuff here that work
echo "It reached here";
exit;
and I was always reaching the point before the exit; command. Doing a google search, I came across this post, which suggested turning on display_errors. I did it and the 500 error went away.
因此,我要问的是,没有人解释为什么会发生这种情况? https://stackoverflow.com/questions/1184001/weird-500-internal-server-error-firebug-php-display-errors-ajax” post描述了类似情况,但没有解释。
一如既往,预先感谢