• Edit
  • Delete

PHP xdebug installation on Ubuntu

 

  • sudo apt-get install php-xdebug
  • sudo vi /etc/php5/conf.d/xdebug.ini (Ubuntu 12.04)
  • sudo vi /etc/php5/mods-available/xdebug.ini (Ubuntu 14.04)
  • sudo vi /etc/php/7.0/mods-available/xdebug.ini (Ubuntu 16.04)
    • zend_extension=xdebug.so
      display_error
      = On html_errors = On xdebug.var_display_max_depth = 15 xdebug.var_display_max_data = 4096 xdebug.var_display_max_children = 1000 xdebug.max_nesting_level = 200