Re: PHP + PostgreSQL

2004-06-27 Thread Oliver Elphick
On Sun, 2004-06-27 at 05:57, deb_milist wrote: > Error message ( using function.inc file with your modification ) : > > Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: > IDENT authentication failed for user "techtables" . in > /var/www/techtables/functions.inc on line 11 > C

Re: PHP + PostgreSQL

2004-06-26 Thread deb_milist
Oliver Elphick wrote: Do you mean that it still says it can't find "127.0.0.1," or simply that it doesn't authenticate? Sorry Oliver, i was just too desprated. The current error is different from the previous which simply said : techtables didn't know which host to connect. It has been

Re: PHP + PostgreSQL

2004-06-26 Thread Oliver Elphick
On Sat, 2004-06-26 at 03:42, deb_milist wrote: > thanks oliver. > but i still get the same error. Do you mean that it still says it can't find "127.0.0.1," or simply that it doesn't authenticate? > i think it's postgresql auth. problem ( ...or i dunno) > in the latest howto ( as i sent withi

Re: PHP + PostgreSQL

2004-06-25 Thread deb_milist
Oliver Elphick wrote: I'm not a PHP user; however I have looked at its manual and I presume that pg_connect calls PQconnectdb in libpq. The comma is certainly wrong; parameters should be separated by whitespace. Parameters with no value should be omitted altogether or else defined as '' (a

Re: PHP + PostgreSQL

2004-06-24 Thread deb_milist
Oliver Elphick wrote: You seem to have an extra comma there. It is doing a host look up of "127.0.0.1," and of course it is not finding it. The word "localhost" is quite acceptable. Since you are accessing the database from a program running on the same machine, you could also leave the h

Re: PHP + PostgreSQL

2004-06-24 Thread deb_milist
Oliver Elphick wrote: On Thu, 2004-06-24 at 05:17, dodol garut wrote: I've techtables installed in my box but it doesn't wanna work. someone in this room told me that it because PHP doesn't compiled with PostgreSQL. Well, i wonder...As a trully stupid debian newbie, all i did when

Re: PHP + PostgreSQL

2004-06-24 Thread Oliver Elphick
On Thu, 2004-06-24 at 05:17, dodol garut wrote: > I've techtables installed in my box but it doesn't > wanna work. someone in this room told me that it > because PHP doesn't compiled with PostgreSQL. Well, i > wonder...As a trully stupid debian newbie, all i did > when installing PHP4 to support Po

PHP + PostgreSQL

2004-06-23 Thread dodol garut
I've techtables installed in my box but it doesn't wanna work. someone in this room told me that it because PHP doesn't compiled with PostgreSQL. Well, i wonder...As a trully stupid debian newbie, all i did when installing PHP4 to support PostgreSQl is just 'apt-get install php4-pgsql'. that's it.