From: | "Jonathan Villa" <jvilla(at)innovativesource(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Segmentation Fault using PHP code |
Date: | 2004-10-19 19:27:17 |
Message-ID: | 58564.216.125.144.18.1098214037.squirrel@216.125.144.18 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Gaetano Mendola | 2004-10-19 19:27:57 | Re: removing idle connections |
Previous Message | Alvaro Herrera | 2004-10-19 19:19:43 | Re: delayed input |