Re: pgsql and php with ssl mode.

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: babu <garavindbabu(at)yahoo(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pgsql and php with ssl mode.
Date: 2005-08-10 13:50:32
Message-ID: 20050810135032.GA5954@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 10, 2005 at 02:09:55PM +0100, babu wrote:

> I am trying to use ssl mode when connecting to pgsql via php.
> i have used the method pg_conncet with sslmode and require option.
> But it gets an error "Unable to connect to PostgreSQL server: sslmode
> value "require" invalid when SSL support is not compiled in ".

You have to recompile PostgreSQL with SSL support (or get packages with
SSL support compiled in.)

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"No reniegues de lo que alguna vez creíste"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John D. Burger 2005-08-10 13:53:23 Re: Case sensitivity
Previous Message Michael Fuhr 2005-08-10 13:48:04 Re: pgsql and php with ssl mode.