Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 contrib Added a check for the headers of trace files to prevent wrong files f… August 04, 2011
Octocat-spinner-32 debugclient
Octocat-spinner-32 docs - Implemented FR #70: Add feature_get breakpoint_types. January 24, 2006
Octocat-spinner-32 tests
Octocat-spinner-32 .cvsignore - Add missing entry February 03, 2006
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CREDITS - Update CREDITS April 06, 2003
Octocat-spinner-32 LICENSE Welcome 2012. January 25, 2012
Octocat-spinner-32 Makefile.frag - Unconfuse people that install Xdebug with the PECL installer. October 25, 2006
Octocat-spinner-32 - Move the allocation defines into xdebug_mm.h October 12, 2003
Octocat-spinner-32 NEWS
Octocat-spinner-32 README - s/2.1/2.2/g June 28, 2010
Octocat-spinner-32 compile.bat - Windows build fixes January 13, 2004
Octocat-spinner-32 config.m4 Merge branch 'xdebug_2_1' October 14, 2011
Octocat-spinner-32 config.w32 Get rid of EXECUTE_DATA_PTR, that's an old relic. October 14, 2011
Octocat-spinner-32 package.xml
Octocat-spinner-32 php_xdebug.h
Octocat-spinner-32 template.rc
Octocat-spinner-32 usefulstuff.c
Octocat-spinner-32 usefulstuff.h
Octocat-spinner-32 xdebug.c
Octocat-spinner-32 xdebug.ini
Octocat-spinner-32 xdebug_code_coverage.c
Octocat-spinner-32 xdebug_code_coverage.h
Octocat-spinner-32 xdebug_com.c
Octocat-spinner-32 xdebug_com.h
Octocat-spinner-32 xdebug_compat.c
Octocat-spinner-32 xdebug_compat.h
Octocat-spinner-32 xdebug_handler_dbgp.c
Octocat-spinner-32 xdebug_handler_dbgp.h
Octocat-spinner-32 xdebug_handlers.c
Octocat-spinner-32 xdebug_handlers.h
Octocat-spinner-32 xdebug_hash.c - Sort the symbol elements according to name. (Patch by Eric Promislow November 27, 2008
Octocat-spinner-32 xdebug_hash.h - Implemented FR #131: XDebug needs to implement paged child object r… January 22, 2006
Octocat-spinner-32 xdebug_llist.c - Reset the lists to NULL properly. It can't be done in the function … February 07, 2010
Octocat-spinner-32 xdebug_llist.h - Added dumping of superglobals (patch by Harald Radi <>). February 20, 2003
Octocat-spinner-32 xdebug_mm.h
Octocat-spinner-32 xdebug_private.c
Octocat-spinner-32 xdebug_private.h
Octocat-spinner-32 xdebug_profiler.c
Octocat-spinner-32 xdebug_profiler.h
Octocat-spinner-32 xdebug_set.c
Octocat-spinner-32 xdebug_set.h
Octocat-spinner-32 xdebug_stack.c
Octocat-spinner-32 xdebug_stack.h
Octocat-spinner-32 xdebug_str.c
Octocat-spinner-32 xdebug_str.h
Octocat-spinner-32 xdebug_superglobals.c
Octocat-spinner-32 xdebug_superglobals.h
Octocat-spinner-32 xdebug_tracing.c
Octocat-spinner-32 xdebug_tracing.h
Octocat-spinner-32 xdebug_var.c
Octocat-spinner-32 xdebug_var.h
Octocat-spinner-32 xdebug_xml.c
Octocat-spinner-32 xdebug_xml.h

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

5. Run: make

6. cp modules/ /to/wherever/you/want/it

7. add the following line to php.ini:

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


If you think that you encountered a bug, please file a detailed bugreport
at . You are required to create an account, this is
so that you can be contacted for additional information and to keep out

Derick Rethans
Something went wrong with that request. Please try again.