Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ac8418a840

Fetching latest commit…

Cannot retrieve the latest commit at this time

contrib Added a check for the headers of trace files to prevent wrong files f…
debugclient
docs - Implemented FR #70: Add feature_get breakpoint_types.
tests
.cvsignore - Add missing entry
.gitignore
CREDITS - Update CREDITS
LICENSE Welcome 2012.
Makefile.frag - Unconfuse people that install Xdebug with the PECL installer.
Makefile.in - Move the allocation defines into xdebug_mm.h
NEWS Go with 2.2.0.
README - s/2.1/2.2/g
compile.bat - Windows build fixes
config.m4 Merge branch 'xdebug_2_1'
config.w32 Get rid of EXECUTE_DATA_PTR, that's an old relic.
package.xml
php_xdebug.h
rebuild.sh
template.rc
test.sh Allow test files to be passed as the TESTS env var.
usefulstuff.c
usefulstuff.h
xdebug.c
xdebug.ini
xdebug_code_coverage.c
xdebug_code_coverage.h
xdebug_com.c
xdebug_com.h
xdebug_compat.c
xdebug_compat.h
xdebug_handler_dbgp.c
xdebug_handler_dbgp.h
xdebug_handlers.c
xdebug_handlers.h
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
xdebug_private.c
xdebug_private.h
xdebug_profiler.c
xdebug_profiler.h
xdebug_set.c
xdebug_set.h
xdebug_stack.c
xdebug_stack.h
xdebug_str.c
xdebug_str.h
xdebug_superglobals.c
xdebug_superglobals.h
xdebug_tracing.c
xdebug_tracing.h
xdebug_var.c
xdebug_var.h
xdebug_xml.c
xdebug_xml.h
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.