Maybe a Suhosin issue...

CVSROOT: /cvs
Module name: ports
Changes by: rob...@cvs.openbsd.org 2009/07/20 10:30:14

Modified files:
www/php5 : Makefile.inc www/php5/core : Makefile www/php5/extensions:
Makefile Added files:
www/php5/core/patches: patch-ext_suhosin_suhosin_c
Log message:
Make suhosin.session.encrypt=off by default because there are some problems
with php 5.2.10 and the suhosin patch. noted by william@ and people on ports@
It's going to be re-enabled when it gets fixed upstream.


Just, put suhosin.session.encrypt=off in you php.ini and check out.


2009/11/1 Jeremy Bowen <jer...@smartpoint.co.nz>:
> Richard Toohey wrote:
>>
>> [cut]
>>
>> Can't help you directly, but there are a few questions that might help ...
>>
>> 1. Upgraded as per instructions -
>> http://www.openbsd.org/faq/upgrade46.html?
>
> Yes, followed the instructions to the letter. Everything else upgraded
> successfully and is working as expected.
> If I made a mistake, I duplicated the error on both upgrades. I think this
> is unlikely.
>>
>> 2. Upgrade included packages at the end of those instructions?
>
> Yes, upgraded packages too. This seemed to go smoothly. I've since
> pkg_delete and pkg_add'ed the obvious suspect packages with no effect.
>>
>> 3. Applied errata patches (don't think they would make a difference here?)
>
> No, I haven't done that as I haven't built from source. Hadn't planned on
> having to rebuild packages for this upgrade. I could build from ports if
> this is likely to help....
>>
>> 4. What version of Apache?  1.3 in base, or 2.x from ports?
>
> Apache v1.3 standard install from base. Using package defaults. Not using
> ports.
>
>> 5. MySQL and PHP - from packages or ports?  What versions?
>
> PHP v5.2.10 from packages (php5-core, php5-mysql)
> mysql-client-5.0.83 from packages.
>
>
> The two servers are drastically different hardware running completely
> different web applications. The affected web-sites also work
intermittently.
> Some requests succeed. Others cause the segfault. Unfortunately they are
> production servers and are now unreliable.
>
> I think I have confirmed this is a php5-mysql problem as the server seems
> stable with the php5-mysql package removed. It's a little hard to tell as
> most of the sites on the servers make extensive use of MySQL however there
> is one that doesn't and I was unable to reproduce the segfault from this
> site with the mysql packages removed. Re-added the mysql package and the
> segfaults returned.

Reply via email to