Hi,

On Wed, 2009-04-29 at 13:18 -0500, Greg Beaver wrote:
> I can get a backtrace using gdb, but no valgrind for
> the apache crash, although I haven't tried running the server via
> valgrind.  Does anyone know if this is even possible to do with a
> forking server?

Yes, you can try with "valgrind apache2 -X". You can also run the
FastCGI sapi under valgrind or gdb and make apache connect to it (so
that you debug only php):
USE_ZEND_ALLOC=0 valgrind php-cgi -b127.0.0.1:1234.

Regards,

Arnaud



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to