Skip to content

Instantly share code, notes, and snippets.

@rauluranga
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save rauluranga/cfff211583d0720b9c58 to your computer and use it in GitHub Desktop.

Select an option

Save rauluranga/cfff211583d0720b9c58 to your computer and use it in GitHub Desktop.
Xdebug installation Ubuntu
$ sudo apt-get install php5-xdebug
#add the following lines to etc/php5/conf.d/xdebug.ini
xdebug.profiler_output_dir=/tmp
xdebug.profiler_output_name=cachegrind.out.%p
xdebug.profiler_enable_trigger=1
xdebug.profiler_enable=1
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9001
xdebug.remote_handler=dbgp
xdebug.remote_autostart=0
$ sudo service php5-fpm restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment