Page 1 of 1

Thank you ASL - PHP 5.3.6 segfault on open_basedir

Posted: Mon Apr 25, 2011 2:00 pm
by premierhosting
Howdy,

Big hi howdy thank you to ASL for being awesome. So, PHP 5.3.6, among other crazy bugs, segfaults when you use open_basedir under certain scenarios. You get a blank page, and nothing in the php.log, nothing output in error_log or even access_log.

But in ASL I get this:
[notice] child pid 19698 exit signal Segmentation fault (11)

Thank you for letting me know what was going on. It would be even better if it told me what URL access caused it.

Re: Thank you ASL - PHP 5.3.6 segfault on open_basedir

Posted: Tue Apr 26, 2011 2:01 am
by mikeshinn
Thank you for letting me know what was going on. It would be even better if it told me what URL access caused it.
Agreed, it would be awfully nice if apache logged that too :-)

We've looked into a number of different ways of trying to isolate this, the most promising may be to use our apache build to add in the necessary hooks for things like modwhatkilledus to work. Unfortunately all the standard distros apache builds dont include the hooks, so that module hasnt been an option.

In the mean time, heres a wiki page I put together to help with segfaults - since you've got it down to PHP my first guess would be an optimizer perhaps?

https://www.atomicorp.com/wiki/index.php/Apache