summaryrefslogtreecommitdiffstats
path: root/development/xdebug/README
diff options
context:
space:
mode:
author Antonio Hernández Blas2010-05-13 01:40:14 +0200
committer Robby Workman2010-05-17 05:24:28 +0200
commit19a7809b7aeabefeb78fd57fe0e9185c5a03856f (patch)
tree0d6342c61a53470e797e925c86b63c0aa80266eb /development/xdebug/README
parent83d737b7f9b497acec23ef54af585e33f9102d97 (diff)
downloadslackbuilds-19a7809b7aeabefeb78fd57fe0e9185c5a03856f.tar.gz
development/xdebug: Added (PHP extension for debugging PHP scripts).
Diffstat (limited to 'development/xdebug/README')
-rw-r--r--development/xdebug/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/development/xdebug/README b/development/xdebug/README
new file mode 100644
index 0000000000..5ee9c66fad
--- /dev/null
+++ b/development/xdebug/README
@@ -0,0 +1,18 @@
+Xdebug (A PHP extension for debugging PHP scripts)
+
+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
+capabilities to debug PHP scripts interactively with a debug client.
+
+This requires libedit.
+
+Once you install xdebug, add the following line to php.ini:
+ zend_extension = "/usr/lib/php/extensions/xdebug.so"
+
+Restart your webserver if you're using php with it, and as a recomendation
+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,
+you have been successful!"