Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion doc/Vdebug.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,24 @@ it as a zend extension. This can be done in the PHP INI file, but in Ubuntu
I can add a new file to /etc/php5/conf.d/ that contains all the configuration
options and gets loaded automatically by PHP.

Add these options to the INI file: >
For Xdebug v2, add these options to the INI file: >

zend_extension=/path/to/xdebug.so
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
<

For Xdebug v3, add tese options to the INI file: >

zend_extension=/path/to/xdebug.so
xdebug.mode=debug
xdebug.client_host=localhost
xdebug.client_port=9000
<
Please refer to https://xdebug.org/docs/upgrade_guide for instructions on how to upgrade from v2 to v3.

If using Apache, restart it to enable the new library. The command line
interface should be ready to go - type "php -v" and you should see the line >
with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans
Expand Down