2016-11-14 20:11:13 +01:00
|
|
|
xdebug (A PHP extension for debugging PHP scripts)
|
2010-05-13 01:40:14 +02:00
|
|
|
|
2012-04-22 18:29:48 +02:00
|
|
|
The Xdebug extension helps you debugging your script by providing a lot of
|
|
|
|
valuable debug information. The debug information that Xdebug can provide
|
|
|
|
includes the following: stack traces and function traces in error messages,
|
|
|
|
memory allocation and protection for infinite recursions. Xdebug also
|
|
|
|
provides profiling information for PHP, scripts, code coverage analysis and
|
2010-05-13 01:40:14 +02:00
|
|
|
capabilities to debug PHP scripts interactively with a debug client.
|
|
|
|
|
2016-11-14 20:11:13 +01:00
|
|
|
Once you've installed xdebug, uncomment the following line in
|
|
|
|
/etc/php.d/xdebug.ini:
|
|
|
|
|
2011-03-21 17:17:42 +01:00
|
|
|
; zend_extension = "/usr/lib/php/extensions/xdebug.so"
|
2010-05-13 01:40:14 +02:00
|
|
|
|
2012-04-22 18:29:48 +02:00
|
|
|
Restart your webserver if you're using php with it, and as a recomendation
|
2011-12-18 22:38:56 +01:00
|
|
|
from xdebug's README: "Write a PHP page that calls "phpinfo();" Load it
|
|
|
|
in a browser and look for the info on the xdebug module. If you see it,
|
2010-05-13 01:40:14 +02:00
|
|
|
you have been successful!"
|
2011-12-18 22:38:56 +01:00
|
|
|
|
|
|
|
Note that some of xdebug's functionality may be dependent on php core
|
|
|
|
configuration settings.
|