[peruser] PHP file open problem
Lazy
lazy404 at gmail.com
Wed Dec 9 06:42:13 MST 2009
set max processors number to 1 on server env
read some static file to start the processor
gdb /patch/to/httpd pid-of-the-processor
cont
and load some php file and you will get a backtrace by isuuing bt command in gdb
or you can try strace -p pid-of-the-processor it might give some usefull info
when usung gdb remember to run
CFLAGS="-ggdb -O0"; export CFLAGS
before running configure to add debug information to the binary
2009/12/8 <tolga at sh.com.tr>:
> Hello,
> I'm not using chrooted environment for vhost so I prepared I /tmp folder with apache:apache permissions and chmod 777.
> ------Original Message------
> From: Leen Besselink
> Sender: peruser-bounces at telana.com
> To: Peruser MPM List
> ReplyTo: Peruser MPM List
> Subject: Re: [peruser] PHP file open problem
> Sent: Dec 8, 2009 9:42 PM
>
> Tolga wrote:
>> How can i obtain backtrace?
>>
>> I added CoreDumpDirectory /tmp in httpd.conf but apache didn't create a coredumpfile
>>
> Hi,
>
> Just in case, (I'm not sure if it applies here).
>
> If you using chroot, in that case you could try creating a /tmp inside
> the chroot (don't forget to give it the right permissions).
>
> Hope it helps.
>
> Have a nice day,
> Leen.
> _______________________________________________
> Peruser mailing list
> Peruser at telana.com
> http://www.telana.com/mailman/listinfo/peruser
>
>
> Bu e-posta, Turkcell BlackBerry ile gönderilmiştir.
> _______________________________________________
> Peruser mailing list
> Peruser at telana.com
> http://www.telana.com/mailman/listinfo/peruser
>
More information about the Peruser
mailing list