Skip to content

Instantly share code, notes, and snippets.

@MEGApixel23
Created July 1, 2016 09:07
Show Gist options
  • Save MEGApixel23/ec0e7b2e13bdc60220b55e0764ae65ab to your computer and use it in GitHub Desktop.
Save MEGApixel23/ec0e7b2e13bdc60220b55e0764ae65ab to your computer and use it in GitHub Desktop.
Enabling xdebug for PHP
# Add for xdebug into php.ini
zend_extension="/usr/lib/php5/20131226/xdebug.so"
xdebug.auto_trace = 0
xdebug.default_enable = 1
xdebug.max_nesting_level = 250
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment