Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (32 sloc) 1.38 KB
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.x.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.x.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
Jump to Line
Something went wrong with that request. Please try again.