Re: help with debug output
| From: | Derick Rethans | Date: | Tue, 24 Aug 2004 17:42:00 +0000 |
| Subject: | Re: help with debug output | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1210@lists.php.net to get a copy of this message | ||
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