[xdebug-general] Re: XDebug generates recursive error on startup

From: Derick Rethans <derick[@]xdebug.org>
Date: Sun, 24 Oct 2004 18:07:59 +0200 (CEST)

On Mon, 18 Oct 2004, oracle wrote:

> I downloaded and installed XDebug 1.3.2 for my Debian Linux/PHP4.3.9-1
> combo. The install seemed to go smoothly - I had phpize and
> php-config, and make didn't spew any errors, and I got an xdebug.so
> out of it. I duly copied this to my extensions directory
> (/usr/lib/php4/20020429/, where my other extensions are), and added
> the line zend_extension="/usr/lib/php4/20020429/xdebug.so" to php.ini.
> However, when I restarted apache and viewed a page, I got the
> following:
>
> Fatal error: Maximum function nesting level of '64' reached, aborting!
> in Unknown on line 0
>
> And a whole table full of calls to {main}.

Is this a specific page, or does it happen with all pages?

> When I tried it as simply 'extension="xdebug.so"', it wasn't loaded.

That is correct, Xdebug will not work when you load it like this.

> When I used dl() to get it, I'd end up with reports with "out of
> memory" errors in them whenever it hits an include() or require().

dl() is definitely not going to work for Xdebug, same as the above
reason.

(PS: please cc mailinglist when replying)

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Sun Oct 24 2004 - 18:08:07 BST

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