Re: Postgres with php3

From: Andrew McMillan <Andrew(at)catalyst(dot)net(dot)nz>
To: Carsten Huettl <CHUETTL(at)ahorn-Net(dot)de>
Cc: "Poul L(dot) Christiansen" <plc(at)faroenet(dot)fo>, pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgres with php3
Date: 2000-06-22 02:41:10
Message-ID: 39517CC6.827AF789@catalyst.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Carsten Huettl wrote:

> In this situation of testing I start postgresql or the postmaster
> manually. It works. I can login. Create dbs and a smple of tables.
> But I cannot connct via the phpPGadmin thats the point of trouble.

Is php loading the pgsql.so module? Does PHP on Red Hat use dynamic loading of
modules? Is it loading the _right_ pgsql.so module? Is php configured with an
appropriate directory for loading modules? Is php compiled with support for
PostgreSQL? Does phpinfo() tell you anything interesting/useful?

If you turn on syslog support in your php.ini you might find some really useful error
messages in your syslog.

I use PHP against PostgreSQL all the time with no problems, but I don't know what the
issues might be with Red Hat I'm afraid since I use Debian. Hence the of-the-wall,
basic check suggestions :-)

Good luck,
Andrew.
--
_____________________________________________________________________
Andrew McMillan, e-mail: Andrew(at)cat-it(dot)co(dot)nz
Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington
Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Denis Perchine 2000-06-22 05:29:53 Re: libpq error codes
Previous Message danny 2000-06-21 22:01:38 Re: Postgres with php3

Browse pgsql-novice by date

  From Date Subject
Next Message Carsten Huettl 2000-06-23 09:53:09 FATAL 1: Database dbname=template1 does not exist in pg_database
Previous Message danny 2000-06-21 22:01:38 Re: Postgres with php3