I know, I know, it’s been a while. Having had a very very busy month, no time for any blogging whatsoever, it’s now time for a new post. It’s just a quick note, however. How to make your var_dump()s and php-errors more readable and esthetically pleasing?
- Open the terminal and go Shell command
sudo pecl install xdebug
- do not add but do add
extension=xdebug.so
to /etc/php.inizend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
- set also
html_errors = On
- restart apache Shell command
sudo apachectl restart
have fun y’all!