DisgruntledGoat DisgruntledGoat - 9 months ago 66
PHP Question

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:

PHP error

Is this caused by something in particular, 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.

Answer Source

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.