Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36

2006-06-10 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: I wrote about this, but I lost the thread. Today I did clean install in a new virtual machine of FreeBSD 5.4, Apache 1.3.36, php 5.1.4 and PostgreSQL 8.1.4 from ports - and apache did core dump again. Commenting pgsql.so in the php extensions solves the problem, but

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36

2006-06-09 Thread [EMAIL PROTECTED]
I think I got closer to the problem. I did clean install of PostgreSQL 8.0.8 on FreeBSD 5.4, then Apache 1.3.36, then PHP 5.1.4 - all compiled from ports. Till here it all works. Now I install just the php5-pgsql extension. Restart Apache. All works. Reboot the FreeBSD - and Apache does core

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36

2006-06-09 Thread [EMAIL PROTECTED]
Gavin M. Roy wrote: It doesnt sound like an apache problem to me, it sounds like a library version conflict happening in PHP, so apache shouldn't impact it. What happens when you try and access pgsql functions from the cli? Just tried a simple - $result = pg_connect(...); echo $result;

[GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36 to core dump

2006-06-08 Thread [EMAIL PROTECTED]
I wrote about this, but I lost the thread. Today I did clean install in a new virtual machine of FreeBSD 5.4, Apache 1.3.36, php 5.1.4 and PostgreSQL 8.1.4 from ports - and apache did core dump again. Commenting pgsql.so in the php extensions solves the problem, but I need it. Is there

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36 to core dump

2006-06-08 Thread Gavin M. Roy
I'd check to make sure you dont have extra pgsql.so and postgresql library files laying about. My off the cuff guess is that pgsql.so is linked against 8.0 libs and you need to recompile it to link against 8.1 libs? Gavin On Jun 8, 2006, at 1:47 PM, [EMAIL PROTECTED] wrote: I wrote

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36

2006-06-08 Thread [EMAIL PROTECTED]
Gavin M. Roy wrote: I'd check to make sure you dont have extra pgsql.so and postgresql library files laying about. My off the cuff guess is that pgsql.so is linked against 8.0 libs and you need to recompile it to link against 8.1 libs? Gavin If I do clean install (starting from the OS,

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36 to core dump

2006-06-08 Thread Gavin M. Roy
I'm on linux and run PHP 5.1.4, PgSQL 8.1.4 and Apache 2.0.x (current). You shouldnt need to do a clean install, I'd just try in this order: compile and install pgsql 8.1.4 ldconfig (to update library stuff, may not be needed) compile and install php 5.1.4 kick off apache... BTW your other

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36

2006-06-08 Thread [EMAIL PROTECTED]
Gavin M. Roy wrote: I'm on linux and run PHP 5.1.4, PgSQL 8.1.4 and Apache 2.0.x (current). You shouldnt need to do a clean install, I'd just try in this order: compile and install pgsql 8.1.4 ldconfig (to update library stuff, may not be needed) compile and install php 5.1.4 kick off

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36

2006-06-08 Thread Scott Marlowe
On Thu, 2006-06-08 at 16:22, [EMAIL PROTECTED] wrote: Gavin M. Roy wrote: I'm on linux and run PHP 5.1.4, PgSQL 8.1.4 and Apache 2.0.x (current). You shouldnt need to do a clean install, I'd just try in this order: compile and install pgsql 8.1.4 ldconfig (to update library stuff,

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36 to core dump

2006-06-08 Thread Gavin M. Roy
It doesnt sound like an apache problem to me, it sounds like a library version conflict happening in PHP, so apache shouldn't impact it. What happens when you try and access pgsql functions from the cli? Gavin On Jun 8, 2006, at 2:22 PM, [EMAIL PROTECTED] wrote: Gavin M. Roy wrote: I'm

Re: [GENERAL] php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36

2006-06-08 Thread [EMAIL PROTECTED]
Gavin M. Roy wrote: It doesnt sound like an apache problem to me, it sounds like a library version conflict happening in PHP, so apache shouldn't impact it. What happens when you try and access pgsql functions from the cli? Gavin I already recompiled another configuration and can't test at