Debug php?

Support/Development for PHP
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Debug php?

Unread post by DarkF@der »

Hello,


I see some rules:

Code: Select all

[Mon Apr 14 20:53:25 2014] [notice] child pid 31119 exit signal Segmentation fault (11)
I have created dump core file from httpd.
I wanna read it with gdb but when i execute it ned php-debuginfo.

Where to get it for art .rpms?
Is there a other way to find out what;s happening?

Greetz
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Debug php?

Unread post by scott »

You'll need to rebuild the src.rpm to get one, they're available here: http://updates.atomicorp.com/channels/source/php/
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Re: Debug php?

Unread post by DarkF@der »

Is there any nice tutorial for this?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Debug php?

Unread post by scott »

Yup, the TL;DR:

rpmbuild --rebuild /path/to/src.rpm
DarkF@der
Forum Regular
Forum Regular
Posts: 313
Joined: Thu May 07, 2009 12:46 pm

Re: Debug php?

Unread post by DarkF@der »

Thanks for the info php 5.4 source en spec file i can find in atomic repo but where can i find the Atomicorp Nucleus repo source?
I use php 5.3 from Atomicorp Nucleus
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Debug php?

Unread post by prupert »

Aren't *-debuginfo packages provided in the yum channels?
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Debug php?

Unread post by scott »

They were disabled in the past for disk space reasons, but were reactivated (this is a build time thing) recently. So new packages will have the debuginfo automatically. I'm adding those to nucleus right now
Post Reply