Re: [PHP4BETA] Latest CVS - Question
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] Latest CVS - Question | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4755@lists.php.net to get a copy of this message | ||
> I'm running as an apache module (apache 1.3.9) on an intel RedHat 6.0.50 beta
> with MySQL 3.22.26a.
>
> > What usually helps is if you can attach gdb to the process,
> > so we can see what is happening in there...
>
> Could you tell me how to do this and I will do it. Do I need to compile
> PHP as cgi?
I usually just run my httpd binary in non-forking mode. Like this:
gdb /usr/sbin/httpd
(gdb) run -X
Then hit the server to try to generate the segfault and when it happens
do:
(gdb) bt
-Rasmus