Segmentation Fault using PHP code - Mailing list pgsql-general

From Jonathan Villa
Subject Segmentation Fault using PHP code
Date
Msg-id 58564.216.125.144.18.1098214037.squirrel@216.125.144.18
Whole thread Raw
List pgsql-general
I'm trying to add some functionality to an already existing
application...this applications works fine, and uses the PHP function
pg_pconnect to make a persistent connection to the database.  This works
very well.

My part is to make a new non-persistent connection (or whatever), to a
newly created database on the same server.

I simply do

global $sys_dbhost,$sys_dbuser,$sys_dbpasswd,$sys_dbname;

$pg_conn_string = "
user=$sys_dbuser
dbname=$sys_dbname
host=$sys_dbhost
password=$sys_dbpasswd";

$conn = pg_connect($pg_conn_string);

*which is functional PHP code

and in my apache logs I have

[Tue Oct 19 14:11:29 2004] [notice] child pid 28586 exit signal
Segmentation fault (11)

This may seem like a strictly PHP question, but I was just wondering if
perhaps this had anything do with postgres configuration or anything.


pgsql-general by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: delayed input
Next
From: Tham Paudel
Date:
Subject: User Defined Functions/management of OS_Directories