Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 0 commits ahead and 0 commits behind master

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 s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 docs - Implemented FR #70: Add feature_get breakpoint_types. January 24, 2006
Octocat-spinner-32 tests fix tests. April 18, 2014
Octocat-spinner-32 .cvsignore - Add missing entry February 03, 2006
Octocat-spinner-32 .gitignore Added some more files to the ignore list. September 29, 2012
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 Makefile.in - Move the allocation defines into xdebug_mm.h October 12, 2003
Octocat-spinner-32 NEWS Go with 2.2.0. May 08, 2012
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 Merge branch 'xdebug_2_2' March 23, 2013
Octocat-spinner-32 php_xdebug.h Implemented issue #722: Add stack trace limit setting. February 27, 2014
Octocat-spinner-32 rebuild.sh Fixed warnings as shown by the extra compile flags. December 03, 2013
Octocat-spinner-32 template.rc Merge branch 'xdebug_2_2' March 23, 2013
Octocat-spinner-32 test.sh Allow test files to be passed as the TESTS env var. April 08, 2012
Octocat-spinner-32 usefulstuff.c Implemented issue #406: Added support for remote debugging user-defin… January 10, 2014
Octocat-spinner-32 usefulstuff.h Implemented issue #304: File name and line number info for overloaded… January 06, 2014
Octocat-spinner-32 xdebug.c Fixed issue #1024: Add support for PHP 5.6's ASSIGN_POW. April 18, 2014
Octocat-spinner-32 xdebug.ini Merge branch 'xdebug_2_2' December 18, 2012
Octocat-spinner-32 xdebug_code_coverage.c Fixed issue #1024: Add support for PHP 5.6's ASSIGN_POW. April 18, 2014
Octocat-spinner-32 xdebug_code_coverage.h Fixed issue #1024: Add support for PHP 5.6's ASSIGN_POW. April 18, 2014
Octocat-spinner-32 xdebug_com.c Bug #1040: Fixed uninitialized sa value. April 11, 2014
Octocat-spinner-32 xdebug_com.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_compat.c s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_compat.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_handler_dbgp.c Implemented issue #406: Added support for remote debugging user-defin… January 10, 2014
Octocat-spinner-32 xdebug_handler_dbgp.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_handlers.c s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_handlers.h s/2012/2013 or s/2012/%d March 23, 2013
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 <phanto@php.net>). February 20, 2003
Octocat-spinner-32 xdebug_mm.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_private.c s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_private.h Merge branch 'xdebug_2_2' December 03, 2013
Octocat-spinner-32 xdebug_profiler.c Fixed bug #929: Directory name management in .profiler_output_dir (an… May 19, 2013
Octocat-spinner-32 xdebug_profiler.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_set.c s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_set.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_stack.c Implemented issue #722: Add stack trace limit setting. February 27, 2014
Octocat-spinner-32 xdebug_stack.h Fixed issue #1003: Add option to xdebug_print_function_stack() to sup… December 09, 2013
Octocat-spinner-32 xdebug_str.c s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_str.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_superglobals.c s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_superglobals.h s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_tracing.c Implemented #341: Added the time index and memory usage for function … January 09, 2014
Octocat-spinner-32 xdebug_tracing.h Added support for serialized "collect_params". September 28, 2013
Octocat-spinner-32 xdebug_var.c Implemented issue #406: Added support for remote debugging user-defin… January 10, 2014
Octocat-spinner-32 xdebug_var.h Implemented issue #406: Added support for remote debugging user-defin… January 10, 2014
Octocat-spinner-32 xdebug_xml.c s/2012/2013 or s/2012/%d March 23, 2013
Octocat-spinner-32 xdebug_xml.h s/2012/2013 or s/2012/%d March 23, 2013
README
XDEBUG
------

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
   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 bugreport
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
Something went wrong with that request. Please try again.