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.  It can be enabled by default by adding to the ''php.ini'':
 +
 +<code>
 +xdebug.default_enable = 1
 +</code>
 +
 +Alternatively, it can be loaded in runtime:
 +
 +<code>
 +xdebug_enable()
 +</code>
 +
 +==== 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.
 +
 +<code>
 +phpize
 +aclocal 
 +libtoolize --force 
 +autoheader 
 +autoconf 
 +./configure --enable-xdebug
 +make
 +make install
 +</code>
 +
 +Once it is built and installed, include the extension in the relevant ''php.ini'' file.  Use ''zend_extension'' along with the full path of the shared object file.
 +
 +<code>
 +[xdebug]
 +zend_extension=/usr/lib64/php5.4/lib/extensions/no-debug-zts-20100525/xdebug.so
 +</code>

Navigation
QR Code
QR Code xdebug (generated for current page)