Re: Postgres with php3 - Mailing list pgsql-general

From Andrew McMillan
Subject Re: Postgres with php3
Date
Msg-id 39517CC6.827AF789@catalyst.net.nz
Whole thread Raw
In response to Re: Postgres with php3  ("Carsten Huettl" <CHUETTL@ahorn-Net.de>)
List pgsql-general
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@cat-it.co.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



pgsql-general by date:

Previous
From: "Carsten Huettl"
Date:
Subject: Re: Postgres with php3
Next
From: Denis Perchine
Date:
Subject: Re: libpq error codes