no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | xdebug [2015/06/01 23:49] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== xdebug ====== | ||
+ | * [[PHP]] | ||
+ | |||
+ | ==== Module ==== | ||
+ | |||
+ | It is disabled by default. | ||
+ | |||
+ | < | ||
+ | xdebug.default_enable = 1 | ||
+ | </ | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | < | ||
+ | xdebug_enable() | ||
+ | </ | ||
+ | |||
+ | ==== Source installation ==== | ||
+ | |||
+ | In some cases, installing xdebug directly from PECL may not work. If so, it's possible to do a source install instead. | ||
+ | |||
+ | Download the tarball, configure and install it. You will have to override parts of the default autoconf items so it will properly use your current version of libtool. | ||
+ | |||
+ | < | ||
+ | phpize | ||
+ | aclocal | ||
+ | libtoolize --force | ||
+ | autoheader | ||
+ | autoconf | ||
+ | ./configure --enable-xdebug | ||
+ | make | ||
+ | make install | ||
+ | </ | ||
+ | |||
+ | Once it is built and installed, include the extension in the relevant '' | ||
+ | |||
+ | < | ||
+ | [xdebug] | ||
+ | zend_extension=/ | ||
+ | </ |