[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Debug libphp5.so apache's module on debian SID

> On Tuesday 04 August 2009, Jorge Bastos - Decimal wrote:
> > I need to debug apache and libphp5.so on debian Sid, my question,
> > how could I do this?
> >
> >
> >
> > Using gdb and running apache with -X, doesn't provide any info.
> Install libapr1-dbg, libaprutil1-dbg, apache2-dbg, php5-dbg and try
> again. Maybe /usr/share/doc/apache2.2-common/README.backtrace helps,
> too.

Hi Stefan,
Thanks for your reply,
Well I've installed all those packages, and what I did:

* added CoreDumpDirectory /var/cache/apache2 to /etc/apache2/apache2.conf
* stop apache
* ulimit has already no limit
* started apache and make it crash on the libphp5.so (error on dmesg was
"apache2[13988]: segfault at 0 ip b6f61e5f sp bf9f6c30 error 4 in
* checked /var/cache/apache2, and no core file is there.

Since this is when I use the mysqli.so module from php, this may need to be
done in someother way?

Apache 2.2.12
Mysql 5.0.84
Php5 5.2.10

All on debian SID

What could I do more to track this?

Reply to: