Re: php 5.2.0... go boom!

2007-02-02 Thread Spil Oss

Hi Jonathan,

Dunno if you managed to solve it, but I found out what my problem was.

My kernel config has INET6 commented out
My /etc/make.conf has NO_INET6

After adding WITHOUT_IPV6 to my /etc/make.conf, a newly built php 5.2
runs fine (need to check with suhosin patch)

Kind regards,

Spil

PS. At least this will come up searches now!

On 08/11/06, Jonathan Horne <[EMAIL PROTECTED]> wrote:

On Tuesday 07 November 2006 21:08, Jonathan Horne wrote:
> well, im franticly researching that bit of text that has flashed by during
> countless portupgrades... "backing up previous version".  right about now,
> i would LOVE to have php 5.1.6_3 back...
>
> 1) anyone else have bad luck with the upgrade to 5.2.0?  my httpd-error
> logs are filling with this:
>
> [Tue Nov 07 20:49:09 2006] [notice] child pid 58928 exit signal
> Segmentation fault (11
>
> 2) can anyone shed light on the fabled "way of backing out of a portupgrade
> gone awry?
>
> thanks,
> jonathan

well for the moment, lucky for me, i have backups like a good boy.  for now, i
just reloaded last fridays copy of lang/php5 lang/php5-extensions, and so
far, it seems to be rebuilding 5.1.6_3 without complaint.

whew!  the sad part, is i accidently kicked off a portupgrade without thinking
about what box i was on!  after it was started, i didnt want to stop for fear
of damage it would cause.

*shakes head*

well i hope others have better luck than me with the new php5!

cheers,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-12-07 Thread Antony Mawer

On 7/12/2006 10:51 PM, Spil Oss wrote:

Hi Jonathan,

Have you found a solution yet to your segfaulting php 5.2.0?
There are reports that it has to do with the order of loading the
extensions (notably, session seems to have to be one of the last, and
mysql last)

Please let me know if it helps (and even if it doesn't) or any other
solutions. My php 5.2.0 still won't fly (although the debug-version
does!).


Have you tried compiling without the SUHOSIN protection patch? This was 
turned on by default in version 5.1.6_1 of the php5 port, and is on by 
default in 5.2.0 as well.


This patch provides a number of additional security enhancements to PHP, 
and (I believe) some of these include attempting prevent buffer 
overflows in PHP itself being affected. Perhaps one of the modules is 
triggering this and the patch causes the current process to terminate as 
a safety measure.


--Antony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-12-07 Thread Spil Oss

Hi Jonathan,

Have you found a solution yet to your segfaulting php 5.2.0?
There are reports that it has to do with the order of loading the
extensions (notably, session seems to have to be one of the last, and
mysql last)

Please let me know if it helps (and even if it doesn't) or any other
solutions. My php 5.2.0 still won't fly (although the debug-version
does!).

See http://lists.freebsd.org/pipermail/freebsd-ports/2006-November/036596.html

Kind regards,

Spil

On 08/11/06, Jonathan Horne <[EMAIL PROTECTED]> wrote:

well, im franticly researching that bit of text that has flashed by during
countless portupgrades... "backing up previous version".  right about now, i
would LOVE to have php 5.1.6_3 back...

1) anyone else have bad luck with the upgrade to 5.2.0?  my httpd-error logs
are filling with this:

[Tue Nov 07 20:49:09 2006] [notice] child pid 58928 exit signal Segmentation
fault (11

2) can anyone shed light on the fabled "way of backing out of a portupgrade
gone awry?

thanks,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-11-08 Thread Vahan Yerkanian

Riemer Palstra wrote:

On Wed, Nov 08, 2006 at 09:26:19AM -0600, Jonathan Horne wrote:
PHP Warning:  PHP Startup: Unable to load dynamic 
library '/usr/local/lib/php/20060613/pdo.so' - Cannot open

"/usr/local/lib/php/20060613/pdo.so" in Unknown on line 0


I was able to fix the situation by uninstalling lang/php5 and 
lang/php5-extensions, deleting the /usr/local/lib/php and reinstalling 
all over again.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-11-08 Thread Riemer Palstra
On Wed, Nov 08, 2006 at 09:26:19AM -0600, Jonathan Horne wrote:
> PHP Warning:  PHP Startup: Unable to load dynamic 
> library '/usr/local/lib/php/20060613/pdo.so' - Cannot open
> "/usr/local/lib/php/20060613/pdo.so" in Unknown on line 0
> 
> i need to figure out what extension that belongs to, and hopefully rebuild 
> it.  
> that will probably solve my problem.

Err. pdo.so is /usr/ports/databases/pecl-PDO. I haven't got that one to
build yet against PHP 5.2.0:

/usr/ports/databases/pecl-PDO/work/PDO-1.0.3/pdo.c: In function
`php_pdo_get_exception_base':
/usr/ports/databases/pecl-PDO/work/PDO-1.0.3/pdo.c:78: error: too few
arguments to function `zend_exception_get_default'

Are you actually using PDO (for MySQL, ODBC, PostgreSQL, SQLite etc)? If
not, you might just want to comment it out of your
/usr/local/etc/php/extensions.ini.

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-11-08 Thread Jonathan Horne
On Wednesday 08 November 2006 07:41, Derrick Edwards wrote:
> On Wednesday 08 November 2006 07:41, Riemer Palstra wrote:
> > On Wed, Nov 08, 2006 at 01:07:31PM +0300, Andrew Pantyukhin wrote:
> > > I have yet to see a problem. So far, so good.
> >
> > I haven't had any problems with PHP 5.2.0 and its own modules, I only
> > can't get pecl-PDO (1.0.3) to build against it. It even seems to be a
> > bit faster than 5.1.6, but I haven't fully benchmarked it yet.
>
>   Same here.. PHP5.2.0 works great here!
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

well i found another piece of the puzzle this morning.  this time i 
re-performed the upgrade on a dev box.same segfault, but this time, i 
scrolled up quite a bit, and saw this too:

PHP Warning:  PHP Startup: Unable to load dynamic 
library '/usr/local/lib/php/20060613/pdo.so' - Cannot open 
"/usr/local/lib/php/20060613/pdo.so" in Unknown on line 0

i need to figure out what extension that belongs to, and hopefully rebuild it.  
that will probably solve my problem.

jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-11-08 Thread Derrick Edwards
On Wednesday 08 November 2006 07:41, Riemer Palstra wrote:

> On Wed, Nov 08, 2006 at 01:07:31PM +0300, Andrew Pantyukhin wrote:
> > I have yet to see a problem. So far, so good.
>
> I haven't had any problems with PHP 5.2.0 and its own modules, I only
> can't get pecl-PDO (1.0.3) to build against it. It even seems to be a
> bit faster than 5.1.6, but I haven't fully benchmarked it yet.
Same here.. PHP5.2.0 works great here!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-11-08 Thread Riemer Palstra
On Wed, Nov 08, 2006 at 01:07:31PM +0300, Andrew Pantyukhin wrote:
> I have yet to see a problem. So far, so good.

I haven't had any problems with PHP 5.2.0 and its own modules, I only
can't get pecl-PDO (1.0.3) to build against it. It even seems to be a
bit faster than 5.1.6, but I haven't fully benchmarked it yet.

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-11-08 Thread Andrew Pantyukhin

On 11/8/06, Jonathan Horne <[EMAIL PROTECTED]> wrote:

well i hope others have better luck than me with the new php5!


I have yet to see a problem. So far, so good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php 5.2.0... go boom!

2006-11-07 Thread Jonathan Horne
On Tuesday 07 November 2006 21:08, Jonathan Horne wrote:
> well, im franticly researching that bit of text that has flashed by during
> countless portupgrades... "backing up previous version".  right about now,
> i would LOVE to have php 5.1.6_3 back...
>
> 1) anyone else have bad luck with the upgrade to 5.2.0?  my httpd-error
> logs are filling with this:
>
> [Tue Nov 07 20:49:09 2006] [notice] child pid 58928 exit signal
> Segmentation fault (11
>
> 2) can anyone shed light on the fabled "way of backing out of a portupgrade
> gone awry?
>
> thanks,
> jonathan

well for the moment, lucky for me, i have backups like a good boy.  for now, i 
just reloaded last fridays copy of lang/php5 lang/php5-extensions, and so 
far, it seems to be rebuilding 5.1.6_3 without complaint.

whew!  the sad part, is i accidently kicked off a portupgrade without thinking 
about what box i was on!  after it was started, i didnt want to stop for fear 
of damage it would cause.

*shakes head*

well i hope others have better luck than me with the new php5!

cheers,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php 5.2.0... go boom!

2006-11-07 Thread Jonathan Horne
well, im franticly researching that bit of text that has flashed by during 
countless portupgrades... "backing up previous version".  right about now, i 
would LOVE to have php 5.1.6_3 back... 

1) anyone else have bad luck with the upgrade to 5.2.0?  my httpd-error logs 
are filling with this:

[Tue Nov 07 20:49:09 2006] [notice] child pid 58928 exit signal Segmentation 
fault (11

2) can anyone shed light on the fabled "way of backing out of a portupgrade 
gone awry?

thanks,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"