Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-15 Thread John Coulthard
(firewall/SELinux) is preventing the apache connection. Thanks for the help. From: John Coulthard [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Mon, 13 Aug 2007 15:34:19 + From: Tom Lane

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread John Coulthard
: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Fri, 10 Aug 2007 22:50:47 -0500 El jue, 09-08-2007 a las 14:51 +, John Coulthard escribió: Hi I'm trying to set up a new webserver running php and pgsql. PHP was connecting to postgres but I needed to install the php-gd

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread Lim Berger
On 8/13/07, John Coulthard [EMAIL PROTECTED] wrote: The part of the php code for the connection is $dbconn=pg_connect( dbname=lumbribase host=localhost port=5432 user=postgres password=$PG_PASS ); if ( ! $dbconn ) { echo Error connecting to the database !br ; printf(%s,

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread John Coulthard
From: Lim Berger [EMAIL PROTECTED] To: John Coulthard [EMAIL PROTECTED] CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Mon, 13 Aug 2007 18:51:37 +0800 On 8/13/07, John Coulthard [EMAIL PROTECTED] wrote: The part of the php code

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread Tom Lane
John Coulthard [EMAIL PROTECTED] writes: That's not my problem though this is could not connect to server: Permission denied If it's denying permission I must have the permissions set wrong but where to I start looking for them? Permission denied is a pretty strange error for a TCP connect

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread John Coulthard
From: Tom Lane [EMAIL PROTECTED] To: John Coulthard [EMAIL PROTECTED] CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Mon, 13 Aug 2007 10:09:15 -0400 John Coulthard [EMAIL PROTECTED] writes: That's not my problem though

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-10 Thread Julio Cesar Sánchez González
El jue, 09-08-2007 a las 14:51 +, John Coulthard escribió: Hi I'm trying to set up a new webserver running php and pgsql. PHP was connecting to postgres but I needed to install the php-gd module and now I get the error... PHP Warning: pg_connect() [a

[GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-09 Thread John Coulthard
Hi I'm trying to set up a new webserver running php and pgsql. PHP was connecting to postgres but I needed to install the php-gd module and now I get the error... PHP Warning: pg_connect() [a href='function.pg-connect'function.pg-connect/a]: Unable to connect to PostgreSQL server: could