[xdebug-general] Re: --enable-debug

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon Jul 23 2007 - 15:11:22 CEST

On Mon, 23 Jul 2007, Richard Lynch wrote:

> I'm starting to work with Xdebug, and I'm a bit stuck loading the
> extension since I compiled php with --enable-debug
>
> php -m says:
> Cannot load Xdebug - it does not contain debug information, whereas
> Zend does

This means you compiled against PHP headers that did not match the
installed PHP. Did you do "make install" in the last PHP install?

>
> http://www.xdebug.org/docs/install says:
> Note: In case you compiled PHP yourself and used --enable-debug you
> would have to use zend_extension_debug=.
>
> Alas, I am using zend_extension_debug, but that does not seem to help...
>
> I tried re-doing the configure of xdebug adding in --enable-debug even
> though it's not listed in the ./configure --help, to no avail.
>
> Is there some way to turn on debugging in the xdebug extension, or do
> I have to recompile PHP without --enable-debug?

Like Matthieu wrote, make sure phpize picks up the correct headers, you
can do that by specifying the --with-php-config option to phpize.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general[@]lists.xdebug.org
Received on Mon Jul 23 15:11:21 2007

This archive was generated by hypermail 2.1.8 : Sun Nov 23 2008 - 16:00:11 CET