Re: help with debug output
| From: | Justin Hannus | Date: | Tue, 24 Aug 2004 18:01:15 +0000 |
| Subject: | Re: help with debug output | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1211@lists.php.net to get a copy of this message | ||
> Firstly upgrade to PHP 4.3.9-dev from CVS
Cool, i'll try this out. I've also been testing it with php-5.0.1. Can I
apply this same to the 5.0.1 source?
"Derick Rethans" <derick@php.net> wrote in message
news:Pine.LNX.4.58.0408241940070.3954@localhost...
> On Tue, 24 Aug 2004, Justin Hannus wrote:
>
> > I just want to make sure that I completely understand some of the output
> > from php when developing ext's compiled with --enable-debug.
>
> Firstly upgrade to PHP 4.3.9-dev from CVS, which has a patch to disable
> Zend's memory manager. Go to Zend/zend_alloc.h and change #define
> USE_ZEND_ALLOC 1 to 0.
>
> Then request your script through valgrind, this should show you much
> better what went wrong with your memory problems.
>
> regards,
> Derick
> --
> Derick Rethans
> http://derickrethans.nl |
> http://ez.no | http://xdebug.org