Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PHP C Shell Other
branch: master

This branch is 56 commits ahead, 14 commits behind xdebug:master

Failed to load latest commit information.
.travis.scripts Enable Travis-CI for Xdebug.
contrib Merge branch 'xdebug_2_2'
debugclient Changed references from PHP/CVS to debugclient/GIT in buildcheck script.
docs typo fixes - https://github.com/vlajos/misspell_fixer
tests Merge branch 'xdebug_2_3'
.cvsignore - Add missing entry
.gitignore Added more file endings to .gitignore
.travis.yml Stop using Travis for 5.3
CREDITS - Update CREDITS
LICENSE Welcome 2012.
Makefile.frag Enable Travis-CI for Xdebug.
Makefile.in - Move the allocation defines into xdebug_mm.h
NEWS Merge branch 'xdebug_2_2'
README - s/2.1/2.2/g
compile.bat - Windows build fixes
config.m4 Refactor tracing in preparation for another uber cool tracing handler.
config.w32 Refactor tracing in preparation for another uber cool tracing handler.
package.xml Added missing files to package.xml file
php_xdebug.h Merge branch 'xdebug_2_3'
rebuild.sh Fixed warnings as shown by the extra compile flags.
template.rc Back to -dev for the 3.0 branch
test.sh Allow test files to be passed as the TESTS env var.
usefulstuff.c PHP 5.4 and higher always have TSRMLS_CC as argument to tsrm_virtual_…
usefulstuff.h Changed headers to use 2015.
xdebug.c Fixed issue #1113: xdebug.*_trigger do no longer work, due to NULL no…
xdebug.ini Merge branch 'xdebug_2_2'
xdebug_branch_info.c Reduce max number of paths from 64k to 4k
xdebug_branch_info.h Changed headers to use 2015.
xdebug_code_coverage.c Fixed issue #1117: Path/branch coverage sometimes crashes
xdebug_code_coverage.h Changed headers to use 2015.
xdebug_com.c Fixed issue #1066: Better error message for SELinux preventing debugg…
xdebug_com.h Changed headers to use 2015.
xdebug_compat.c PHP 5.3 implements the cyclic gargage collector
xdebug_compat.h PHP 5.3 implements the cyclic gargage collector
xdebug_handler_dbgp.c Merge branch 'xdebug_2_2'
xdebug_handler_dbgp.h Changed headers to use 2015.
xdebug_handlers.c Changed headers to use 2015.
xdebug_handlers.h Changed headers to use 2015.
xdebug_hash.c - Sort the symbol elements according to name. (Patch by Eric Promislow
xdebug_hash.h - Implemented FR #131: XDebug needs to implement paged child object r…
xdebug_llist.c - Reset the lists to NULL properly. It can't be done in the function …
xdebug_llist.h - Added dumping of superglobals (patch by Harald Radi <phanto@php.net>).
xdebug_mm.h Changed headers to use 2015.
xdebug_private.c Changed headers to use 2015.
xdebug_private.h Merge branch 'xdebug_2_2'
xdebug_profiler.c Fixed cachegrind filename and functionname compression on 32bit systems
xdebug_profiler.h Changed headers to use 2015.
xdebug_set.c Changed headers to use 2015.
xdebug_set.h Changed headers to use 2015.
xdebug_stack.c Merge branch 'xdebug_2_2'
xdebug_stack.h Changed headers to use 2015.
xdebug_str.c Changed headers to use 2015.
xdebug_str.h Changed headers to use 2015.
xdebug_superglobals.c PHP 5.3 passes TSRMLS_FETCH to hashtable apply functions
xdebug_superglobals.h Changed headers to use 2015.
xdebug_trace_computerized.c PHP 5.2 and higher always have memory usage functions
xdebug_trace_computerized.h Changed headers to use 2015.
xdebug_trace_html.c PHP 5.2 and higher always have memory usage functions
xdebug_trace_html.h Changed headers to use 2015.
xdebug_trace_textual.c PHP 5.2 and higher always have memory usage functions
xdebug_trace_textual.h Changed headers to use 2015.
xdebug_tracing.c Fixed issue #1112: Setting an invalid xdebug.trace_format causes Xdeb…
xdebug_tracing.h Changed headers to use 2015.
xdebug_var.c Merge branch 'xdebug_2_2'
xdebug_var.h PHP 5.4 stores information in opnodes differently
xdebug_xml.c Changed headers to use 2015.
xdebug_xml.h Changed headers to use 2015.

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.