File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,14 +206,24 @@ it as a zend extension. This can be done in the PHP INI file, but in Ubuntu
206206I can add a new file to /etc/php5/conf.d/ that contains all the configuration
207207options 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+
217227If using Apache, restart it to enable the new library. The command line
218228interface 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
You can’t perform that action at this time.
0 commit comments