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

From: Mathieu Kooiman <mathieuk[@]gmail.com>
Date: Mon, 23 Jul 2007 09:51:39 +0200

Hi,

Could it be that when you compiled xdebug, it actually used a
different install of PHP (a non-debug installation)?

Find the php-config of the version of PHP you're trying to compile
against, and specify it when configuring xdebug:

./configure --with-php-config=/path/to/the/debug/version/of/php-config

Mathieu

On 7/23/07, Richard Lynch <ceo[@]l-i-e.com> wrote:
> Hey all;
>
> 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
>
> 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?
>
> This is PHP 5.2.4-dev from CVS, though I don't think that's
> particularly relevant here.
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some indie artist.
> http://cdbaby.com/browse/from/lynch
> Yeah, I get a buck. So?
>
>
>
Received on Mon Jul 23 2007 - 09:51:50 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST