Search found 2 matches

by ijf99
Wed Feb 03, 2010 8:12 am
Forum: Databases
Topic: Cannot connect to PG database
Replies: 3
Views: 1035

Re: Cannot connect to PG database

Thanks for that Vlad. I ran it and nothing happened. Looking in /var/log/messages pg_connect() is unrecognised and it appears I don't have the file libpq.so... this may be my problem
by ijf99
Wed Feb 03, 2010 4:25 am
Forum: Databases
Topic: Cannot connect to PG database
Replies: 3
Views: 1035

Cannot connect to PG database

Hello folks, Bit of a newbie question, sorry if it's very simple. I'm writing my first PHP script which I want to connect to a Postgres DB, however it seems to fall at the first hurdle. Any suggestions on what I'm doing wrong would be appreciated. I'm using Apache 2, PHP 4, RHEL 4, Postgres 7.4. The...