PHP C Shell Makefile M4 Vim script Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis.scripts Simplify the Travis set-up Nov 18, 2017
contrib improve the foldexpr in xt.vim, the former one doesn't fold lines cor… Mar 7, 2017
debugclient Implemented issue #990: DBGp: Add notifications for notices and warnings Nov 18, 2017
docs typo fixes - https://github.com/vlajos/misspell_fixer Jan 6, 2015
tests Do not add stack trace to notifications Nov 18, 2017
.cvsignore - Add missing entry Feb 3, 2006
.gitignore Added more file endings to .gitignore Jan 18, 2015
.travis.yml Simplify the Travis set-up Nov 18, 2017
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 Merge branch 'xdebug_2_5' Nov 18, 2017
compile.bat - Windows build fixes Jan 13, 2004
config.m4 Fixed issue #1474: Crashes due to variable resolving/reading mechanis… Oct 15, 2017
config.w32 Fixed issue #1474: Crashes due to variable resolving/reading mechanis… Oct 15, 2017
package.xml Fixed issue #1474: Crashes due to variable resolving/reading mechanis… Oct 15, 2017
php_xdebug.h Fixed issue #1470: Make connect timeout configurable Nov 6, 2017
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 Hello 2017. Jan 4, 2017
test.sh Allow test files to be passed as the TESTS env var. Apr 8, 2012
usefulstuff.c Fixed spelling of Xdebug Mar 2, 2017
usefulstuff.h Hello 2017. Jan 4, 2017
xdebug.c Implemented issue #990: DBGp: Add notifications for notices and warnings Nov 18, 2017
xdebug.ini Fixed issue #1057: Add xdebug.ini of all settings to package Dec 11, 2016
xdebug_branch_info.c Fixed issue #1420: Handle PHP 7.2's new methods for switch/case Oct 30, 2017
xdebug_branch_info.h Fixed issue #1486: Crash on ZEND_SWITCH_LONG / ZEND_SWITCH_STRING wit… Nov 12, 2017
xdebug_code_coverage.c Fixed issue #1486: Crash on ZEND_SWITCH_LONG / ZEND_SWITCH_STRING wit… Nov 12, 2017
xdebug_code_coverage.h Merge branch 'xdebug_2_5' Apr 10, 2017
xdebug_com.c Fixed issue #1470: Make connect timeout configurable Nov 6, 2017
xdebug_com.h Fixed issue #1470: Make connect timeout configurable Nov 6, 2017
xdebug_compat.c Fixed issue #1377: Drop support for PHP 5.5 and 5.6. Jan 7, 2017
xdebug_compat.h Fixed shadowy 'index' declaration Feb 24, 2017
xdebug_handler_dbgp.c Do not add stack trace to notifications Nov 18, 2017
xdebug_handler_dbgp.h Implemented issue #990: DBGp: Add notifications for notices and warnings Nov 18, 2017
xdebug_handlers.c Implemented issue #990: DBGp: Add notifications for notices and warnings Nov 18, 2017
xdebug_handlers.h Implemented issue #990: DBGp: Add notifications for notices and warnings Nov 18, 2017
xdebug_hash.c Strip trailing whitespaces Dec 15, 2016
xdebug_hash.h Strip trailing whitespaces Dec 15, 2016
xdebug_llist.c Strip trailing whitespaces Dec 15, 2016
xdebug_llist.h Strip trailing whitespaces Dec 15, 2016
xdebug_mm.h Hello 2017. Jan 4, 2017
xdebug_monitor.c Get rid of unnecessary macros Jan 7, 2017
xdebug_monitor.h Hello 2017. Jan 4, 2017
xdebug_private.c Fixed issue #1391: Add backtrack for xdebug_call_* functions Jan 31, 2017
xdebug_private.h Fixed issue #847: %s doesn't work in xdebug.trace_output_name Feb 5, 2017
xdebug_profiler.c Merge branch 'xdebug_2_5' Apr 17, 2017
xdebug_profiler.h Hello 2017. Jan 4, 2017
xdebug_set.c Hello 2017. Jan 4, 2017
xdebug_set.h Hello 2017. Jan 4, 2017
xdebug_stack.c Do not add stack trace to notifications Nov 18, 2017
xdebug_stack.h Do not add stack trace to notifications Nov 18, 2017
xdebug_str.c Hello 2017. Jan 4, 2017
xdebug_str.h Hello 2017. Jan 4, 2017
xdebug_superglobals.c Fixed shadowy 'index' declaration Feb 24, 2017
xdebug_superglobals.h Fixed issue #1377: Drop support for PHP 5.5 and 5.6. Jan 7, 2017
xdebug_trace_computerized.c Fixed issue #847: %s doesn't work in xdebug.trace_output_name Feb 5, 2017
xdebug_trace_computerized.h Hello 2017. Jan 4, 2017
xdebug_trace_html.c Fixed issue #847: %s doesn't work in xdebug.trace_output_name Feb 5, 2017
xdebug_trace_html.h Hello 2017. Jan 4, 2017
xdebug_trace_textual.c Merge branch 'xdebug_2_5' Apr 10, 2017
xdebug_trace_textual.h Hello 2017. Jan 4, 2017
xdebug_tracing.c Fixed issue #847: %s doesn't work in xdebug.trace_output_name Feb 5, 2017
xdebug_tracing.h Fixed issue #847: %s doesn't work in xdebug.trace_output_name Feb 5, 2017
xdebug_var.c fix a use after free case Nov 12, 2017
xdebug_var.h Fixed issue #1474: Crashes due to variable resolving/reading mechanis… Oct 15, 2017
xdebug_xml.c Hello 2017. Jan 4, 2017
xdebug_xml.h Hello 2017. Jan 4, 2017

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.6.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.6.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