开发者

PHP errors shows orange table and 'call stack'

开发者 https://www.devze.com 2022-12-16 12:46 出处:网络
Recently, if I have PHP errors on my localhost, I\'m seeing this layout of an orange table and call stack:

Recently, if I have PHP errors on my localhost, I'm seeing this layout of an orange table and call stack:

PHP errors shows orange table and 'call stack'

(source: doheth.co.uk)

Is this caused by something in pa开发者_Go百科rticular, a PHP module maybe? Or is it now part of PHP by default? I'd like to go back to the simpler plain message. I'm running PHP on Apache 2 on my Ubuntu desktop.


That's the Xdebug output. You can remove the Xdebug library from the extension settings in php.ini and it will show the default PHP stack traces or you can set xdebug.default_enable to Off and it will disable the Xdebug stack traces.


Sometimes it comes as a default-setting with xampp. Searched a lot to get rid of this kind of formated error messages. In my case there was no entry xdebug.default_enable in my default php.ini-file, so I had to paste it in to get it working.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号