h1

PHP XDebug not formatting var_dump

June 11, 2010

XDebug 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!

About these ads

26 comments

  1. Thanks, saved my day.


  2. THANK YOU! This was driving me batty. :)


  3. Thanks, this was really useful!


  4. Thanks! This has been annoying me for a while.


  5. thanks!


  6. Thanks! Worked on PHP 5.2 on Windows


  7. THANK YOU!!!!


    • Thanks for sharing. This information is hardly anywhere to be found!


  8. Thank you, I was having a headache from looking at those damn curvy brackets…


  9. Yep, thanks! I was trying out all xdebug.* ini variables without luck :)


  10. Nice catch! Thanks :)


  11. This was also driving me nuts. Not sure how you narrowed it down, but thanks!


  12. Makes perfect sense, thanks for the insight


  13. thanks a lot buddy! saved me a few hours! ;)


  14. Great, that was exactly the problem on my Debian system as well. Thanks for sharing this info!


  15. A PHP patch about this has been accepted yesterday: https://wiki.php.net/rfc/error-formatting-for-developers

    Regards.


  16. Hey man, this is super helpful. Thanks!


  17. Thank you!! so much =)


  18. Thanks, very helpful and time saving


  19. Another thanks !! Saved my day


  20. Thanks for the share … I was blaming xdebug installation


  21. Great tip, thank you!


  22. Great! Thanks for suggestion ;)


  23. Thanks. You’ve saved my day.


  24. Thank you!!!


  25. Thank you so much, this got turned off somehow after an update on Debian. Saved my day ! :)



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: