FC5 - PHP - Enable debugging, Segfault
Hi folks,
Sorry if this is a newbie question.
I have FC5 with Apache/2.2.2, PHP 5.1.6, MySQL 5.0.22
Spontaneously, the PHP pages won't load, with 'child pid XXX exit signal Segmentation fault' in the error log. Refreshing the page always fixes this.
According to this page (bugs.php.net/bugs-generating-backtrace.php)[/url], my best best is to try to obtain a crash dump to further analyze the issue.
This seems to require --enable-debug switch in the PHP ./configure. However, my PHP was installed via yum and I think I can't change the configuration options without first getting the sources.
Would anyone know if I can change this switch without re-compiling (probably not). Or, is there any better way to analyze this issue? I've tried print statements with flush() throughout the code to seemingly not much luck.
Thanks!
Last edited by jbnewyork; 11-14-2006 at 09:20 PM.
|