PHP XDebug not formatting var_dump
June 11, 2010XDebug is a great tool for PHP developers which, amnogst other things, is supposed to make var_dumps() easier to read. On a new install of Ubuntu 10.4 though I couldn’t get it to work. I finally tracked the problem down to not having html_errors=On in /etc/php5/apache2/php.ini. Set it to on, restart apache and it works fine!
Thanks, saved my day.
by NykO18 July 7, 2010 at 2:07 pmTHANK YOU! This was driving me batty. π
by Allen July 26, 2010 at 2:16 pmThanks, this was really useful!
by David Robinson August 2, 2010 at 10:29 amThanks! This has been annoying me for a while.
by Rodrigo Primo August 4, 2010 at 6:56 pmthanks!
by btx September 15, 2010 at 4:43 pmThanks! Worked on PHP 5.2 on Windows
by Ma December 4, 2010 at 2:05 pmTHANK YOU!!!!
by Julio December 14, 2010 at 2:32 pmThanks for sharing. This information is hardly anywhere to be found!
by Mitchel Haas January 2, 2011 at 1:05 amThank you, I was having a headache from looking at those damn curvy brackets…
by Thank you January 3, 2011 at 10:22 amYep, thanks! I was trying out all xdebug.* ini variables without luck π
by Motin March 12, 2011 at 2:56 pmNice catch! Thanks π
by Eirik Hoem March 22, 2011 at 12:54 pmThis was also driving me nuts. Not sure how you narrowed it down, but thanks!
by Greg May 12, 2011 at 3:06 pmMakes perfect sense, thanks for the insight
by Anon June 7, 2011 at 3:18 amthanks a lot buddy! saved me a few hours! π
by john doe. June 23, 2011 at 3:01 pmGreat, that was exactly the problem on my Debian system as well. Thanks for sharing this info!
by Jan July 13, 2011 at 11:50 amA PHP patch about this has been accepted yesterday: https://wiki.php.net/rfc/error-formatting-for-developers
Regards.
by PixEye August 11, 2011 at 7:36 amHey man, this is super helpful. Thanks!
by Daniel August 14, 2011 at 9:05 pmThank you!! so much =)
by Reynald Ramel Tolentino September 4, 2011 at 3:00 amThanks, very helpful and time saving
by Joe666 September 14, 2011 at 1:28 amAnother thanks !! Saved my day
by David November 2, 2011 at 10:13 pmThanks for the share … I was blaming xdebug installation
by Ish March 19, 2012 at 7:04 pmGreat tip, thank you!
by yuriybabenko May 8, 2012 at 10:43 pmGreat! Thanks for suggestion π
by Fabrizio July 20, 2012 at 3:38 pmThanks. You’ve saved my day.
by Sand July 23, 2012 at 5:51 pmThank you!!!
by Vasil Silianovsky March 17, 2013 at 11:43 amThank you so much, this got turned off somehow after an update on Debian. Saved my day ! π
by Dr Doom March 17, 2013 at 4:10 pmWoot, just what I needed, thanks!
by zombienaute August 1, 2013 at 2:43 am