Skip to content

Commit 9c351a1

Browse files
Merge pull request #508 from stonedz/master
Added Xdebug v3 instructions to helpfile
2 parents f61a967 + 4184c6c commit 9c351a1

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎doc/Vdebug.txt‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,24 @@ it as a zend extension. This can be done in the PHP INI file, but in Ubuntu
206206
I can add a new file to /etc/php5/conf.d/ that contains all the configuration
207207
options and gets loaded automatically by PHP.
208208

209-
Add these options to the INI file: >
209+
For Xdebug v2, add these options to the INI file: >
210210

211211
zend_extension=/path/to/xdebug.so
212212
xdebug.remote_enable=on
213213
xdebug.remote_handler=dbgp
214214
xdebug.remote_host=localhost
215215
xdebug.remote_port=9000
216216
<
217+
218+
For Xdebug v3, add tese options to the INI file: >
219+
220+
zend_extension=/path/to/xdebug.so
221+
xdebug.mode=debug
222+
xdebug.client_host=localhost
223+
xdebug.client_port=9000
224+
<
225+
Please refer to https://xdebug.org/docs/upgrade_guide for instructions on how to upgrade from v2 to v3.
226+
217227
If using Apache, restart it to enable the new library. The command line
218228
interface should be ready to go - type "php -v" and you should see the line >
219229
with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans

0 commit comments

Comments
 (0)