Re: php5 and postgresql 8.2/8.3

2008-08-20 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Setting ServerName fixed it for me ... thanks for the tip ... - --On Monday, April 21, 2008 12:53:24 +0200 Claus Guttesen [EMAIL PROTECTED] wrote: this problem is very old for me. it goes, at least from

php5 and postgresql 8.2/8.3

2008-04-21 Thread Marat N.Afanasyev
this problem is very old for me. it goes, at least from http://www.freebsd.org/cgi/query-pr.cgi?pr=97272 I found a workaround: you simply should set ServerName foobar.emxample in httpd.conf i don't know why missing ServerName causes coredump of apache in case of php+php_pgsql, but this

Re: php5 and postgresql 8.2/8.3

2008-04-21 Thread Claus Guttesen
this problem is very old for me. it goes, at least from http://www.freebsd.org/cgi/query-pr.cgi?pr=97272 I found a workaround: you simply should set ServerName foobar.emxample in httpd.conf i don't know why missing ServerName causes coredump of apache in case of php+php_pgsql, but

php5 and postgresql 8.2/8.3

2008-04-17 Thread Claus Guttesen
Hi. I have installed php5 with support for postgresql (php5-pgsql). If I install postgresql-client ver. 8.2.7 or 8.3.x apache (httpd) core-dumps. If I install postgresql-client 8.1.11 or 8.2.6 apache does not core-dump. This is the output (backtrace) from gdb: (gdb) bt #0 0x00080651c340 in

Re: php5 and postgresql 8.2/8.3

2008-04-17 Thread Claus Guttesen
I have installed php5 with support for postgresql (php5-pgsql). If I install postgresql-client ver. 8.2.7 or 8.3.x apache (httpd) core-dumps. If I install postgresql-client 8.1.11 or 8.2.6 apache does not core-dump. This is the output (backtrace) from gdb: (gdb) bt #0

Re: php5 and postgresql 8.2/8.3

2008-04-17 Thread Jeremy Chadwick
On Thu, Apr 17, 2008 at 02:05:27PM +0200, Claus Guttesen wrote: I have installed php5 with support for postgresql (php5-pgsql). If I install postgresql-client ver. 8.2.7 or 8.3.x apache (httpd) core-dumps. If I install postgresql-client 8.1.11 or 8.2.6 apache does not core-dump. This is the

Re: php5 and postgresql 8.2/8.3

2008-04-17 Thread Jim Pingle
Claus Guttesen wrote: I have installed php5 with support for postgresql (php5-pgsql). If I install postgresql-client ver. 8.2.7 or 8.3.x apache (httpd) core-dumps. If I install postgresql-client 8.1.11 or 8.2.6 apache does not core-dump. I have confirmed that it's postgresql which makes

Re: php5 and postgresql 8.2/8.3

2008-04-17 Thread Claus Guttesen
Replying to myself (and others :-) ). When compiling php5 statically with postgresql-support apache no longer core dumps. I added CONFIGURE_ARGS+=--with-pgsql to /usr/ports/lang/php5/Makefile. Not sure if this would make much of a difference in your case, but have you tried moving the