[xdebug-general] Re: problem with zend_extension_ts

From: Udo Schmiedeskamp <dexxus[@]gmail.com>
Date: Wed, 22 Aug 2007 09:56:17 +0200

Thank you all for trying to help me out.

If i understand the guide correctly i must use php5 w/ "--enable-debug"

Maybe i find a matching package by ubuntu or try to compile php5 myself.
This will probably take some time.

But i think i cannot provide a "small script" simulating the symfony-project :)
Maybe there is a other way to reproduce this error.

best regards
Udo

2007/8/22, Derick Rethans <derick[@]xdebug.org>:
> On Tue, 21 Aug 2007, Udo Schmiedeskamp wrote:
>
> > First i tried
> >
> > zend_extension="/usr/lib/php5/20060613+lfs/xdebug.so"
> >
> > phpinfo() shows xdebug is loaded.
> >
> > A small test script with an error works fine too. (works fine = xdebug
> > puts out the error)
> >
> > If i try to load the developer view of symfony (projectname_dev.php) i
> > get a *blank* page.
> > and this line in the error.log
> >
> > Tue Aug 21 05:36:26 2007] [notice] child pid 9389 exit signal
> > Segmentation fault (11)
> >
> > "Stupid me" i thought. "you are using apache2 with mpm-prefork"
> > you have to use
> >
> > zend_extension_ts="/usr/lib/php5/20060613+lfs/xdebug.so"
> > ^^^
> > restarted apache
> >
> > But THEN the phpinfo() does NOT show a sign of xdebug.
> > The symfony developer view does load then, but says xdebug has not
> > been loaded too.
>
> That's because prefork is not threaded, so your original zend_extension=
> line is correct.
>
> > Can anybody please help me, how can i load xdebug into apache 2.2.3
> > without getting segmentation faults.
>
> For that to figure out I will need at least a backtrace though, and
> also a reproducing small script. See the following URL on how to obtain
> a backtrace:
>
> http://bugs.php.net/bugs-generating-backtrace.php (under "If you can't
> get a core file").
>
> regards,
> Derick
>
> --
> Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
>
Received on Wed Aug 22 2007 - 09:57:02 BST

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