By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,372 Members | 1,950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,372 IT Pros & Developers. It's quick & easy.

Segmentation Fault using PHP code

P: n/a
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 = "

$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.
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******

Nov 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.