PHP C Shell Makefile M4 VimL Other
Pull request Compare This branch is 139 commits ahead, 3 commits behind xdebug:master.
Permalink
Failed to load latest commit information.
.travis.scripts Instead of defining, FAIL_SILENTLY, add the error conditions to the log Apr 30, 2016
contrib Added license template to tracefile analyser example. Mar 18, 2016
debugclient Merge branch 'xdebug_2_4' May 10, 2016
docs typo fixes - https://github.com/vlajos/misspell_fixer Jan 6, 2015
tests Fixed issue #1232: add memory delta to HTML traces Dec 4, 2016
.cvsignore - Add missing entry Feb 3, 2006
.gitignore Added more file endings to .gitignore Jan 18, 2015
.travis.yml Travis doesn't have valgrind, so this is going to need to wait. Nov 12, 2016
CONTRIBUTING.rst Tidy up some language. May 25, 2015
CREDITS - Update CREDITS Apr 6, 2003
LICENSE Welcome 2012. Jan 25, 2012
Makefile.frag Enable Travis-CI for Xdebug. Nov 23, 2014
Makefile.in - Move the allocation defines into xdebug_mm.h Oct 12, 2003
README.rst Update version in README instructions Dec 3, 2015
compile.bat - Windows build fixes Jan 13, 2004
config.m4 Fixed tests related in changes in behaviour between PHP 7.0 and 7.1. Oct 30, 2016
config.w32 Separate monitoring into its own files May 25, 2015
package.xml Fix minimum required PHP version in package.xml to 5.5 Nov 12, 2016
php_xdebug.h Back to -dev. Nov 12, 2016
rebuild-32bit.sh Fixed issue #1212: Segfault with code coverage dead code analysis and… Nov 29, 2015
rebuild.sh Fixed compiler warnings (mostly size and signedness) Nov 29, 2015
template.rc Back to -dev. Nov 12, 2016
test.sh Allow test files to be passed as the TESTS env var. Apr 8, 2012
usefulstuff.c Hello 2016. Jan 19, 2016
usefulstuff.h Hello 2016. Jan 19, 2016
xdebug.c Fixed issue #1365: Allow remote_connect_back to be set through XDEBUG… Dec 4, 2016
xdebug.ini Merge branch 'xdebug_2_2' Jan 6, 2015
xdebug_branch_info.c Fixed issue #1331: Segfault in code coverage Oct 4, 2016
xdebug_branch_info.h Hello 2016. Jan 19, 2016
xdebug_code_coverage.c Fixed issue #1357: Function signature using variadics is reported as … Nov 16, 2016
xdebug_code_coverage.h Fixed issue #1331: Segfault in code coverage Oct 4, 2016
xdebug_com.c Fixed issue #1361: Remote debugging connection issues with Windows Dec 2, 2016
xdebug_com.h Instead of defining, FAIL_SILENTLY, add the error conditions to the log Apr 30, 2016
xdebug_compat.c Hello 2016. Jan 19, 2016
xdebug_compat.h Hello 2016. Jan 19, 2016
xdebug_handler_dbgp.c Fixed issue #1242: Xdebug on Windows with Eclipse has issues with bre… Nov 23, 2016
xdebug_handler_dbgp.h Hello 2016. Jan 19, 2016
xdebug_handlers.c Hello 2016. Jan 19, 2016
xdebug_handlers.h Hello 2016. Jan 19, 2016
xdebug_hash.c - Sort the symbol elements according to name. (Patch by Eric Promislow Nov 27, 2008
xdebug_hash.h - Implemented FR #131: XDebug needs to implement paged child object r… Jan 22, 2006
xdebug_llist.c Fixed issue #1168: Added defensive check to prevent infinite loop Dec 4, 2016
xdebug_llist.h - Added dumping of superglobals (patch by Harald Radi <phanto@php.net>). Feb 20, 2003
xdebug_mm.h Hello 2016. Jan 19, 2016
xdebug_monitor.c Hello 2016. Jan 19, 2016
xdebug_monitor.h Hello 2016. Jan 19, 2016
xdebug_private.c Hello 2016. Jan 19, 2016
xdebug_private.h Merge branch 'xdebug_2_4' Jul 31, 2016
xdebug_profiler.c Fixed issue #1333: Profiler accesses memory structures after freeing Jul 31, 2016
xdebug_profiler.h Fixed issue #1333: Profiler accesses memory structures after freeing Jul 31, 2016
xdebug_set.c Fixed issue #1267: AIX build issues Feb 8, 2016
xdebug_set.h Hello 2016. Jan 19, 2016
xdebug_stack.c Fixed issue #1373: Crash in zend_hash_apply_with_arguments when debug… Dec 2, 2016
xdebug_stack.h Hello 2016. Jan 19, 2016
xdebug_str.c Hello 2016. Jan 19, 2016
xdebug_str.h Hello 2016. Jan 19, 2016
xdebug_superglobals.c Fixed #1266: xdebug_dump_superglobals() always dumps empty stack on P… Feb 8, 2016
xdebug_superglobals.h Hello 2016. Jan 19, 2016
xdebug_trace_computerized.c Hello 2016. Jan 19, 2016
xdebug_trace_computerized.h Hello 2016. Jan 19, 2016
xdebug_trace_html.c Fixed issue #1232: add memory delta to HTML traces Dec 4, 2016
xdebug_trace_html.h Hello 2016. Jan 19, 2016
xdebug_trace_textual.c Hello 2016. Jan 19, 2016
xdebug_trace_textual.h Hello 2016. Jan 19, 2016
xdebug_tracing.c Hello 2016. Jan 19, 2016
xdebug_tracing.h Hello 2016. Jan 19, 2016
xdebug_var.c Fixed issue #1343: Wrong values of numerical keys outside 32bit range Nov 16, 2016
xdebug_var.h Hello 2016. Jan 19, 2016
xdebug_xml.c Hello 2016. Jan 19, 2016
xdebug_xml.h Hello 2016. Jan 19, 2016

README.rst

Xdebug

These are instructions for installing Xdebug. Please also refer to http://xdebug.org/support.php for support.

You need to compile Xdebug separately from the rest of PHP. Note, however, that you need access to the scripts phpize and php-config. If your system does not have phpize and php-config, you will need to compile and install PHP from a source tarball first, as these script are by-products of the PHP compilation and installation processes. It is important that the source version matches the installed version as there are slight, but important, differences between PHP versions.

Once you have access to phpize and php-config, do the following:

  1. Unpack the tarball: tar -xzf xdebug-2.4.x.tgz. Note that you do not need to unpack the tarball inside the PHP source code tree. Xdebug is compiled separately, all by itself, as stated above.
  2. cd xdebug-2.4.x
  3. Run phpize: phpize (or /path/to/phpize if phpize is not in your path).
  4. ./configure --enable-xdebug (or: ../configure --enable-xdebug --with-php-config=/path/to/php-config if php-config is not in your path)
  5. Run: make
  6. cp modules/xdebug.so /to/wherever/you/want/it
  7. add the following line to php.ini: zend_extension="/wherever/you/put/it/xdebug.so"
  8. Restart your webserver.
  9. 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!

Support

If you think that you encountered a bug, please file a detailed bug report at http://bugs.xdebug.org. You are required to create an account, this is so that you can be contacted for additional information and to keep out spam.

Derick Rethans — derick@xdebug.org