PHP errors shows 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:
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.
精彩评论