Re: pgsql and php with ssl mode. - Mailing list pgsql-general

From Michael Fuhr
Subject Re: pgsql and php with ssl mode.
Date
Msg-id 20050810134804.GA46356@winnie.fuhr.org
Whole thread Raw
In response to pgsql and php with ssl mode.  (babu <garavindbabu@yahoo.co.uk>)
List 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
compiledin ". 

Looks like the underlying libpq wasn't compiled with SSL support.
If you built PostgreSQL yourself then do a fresh build and configure
it with the --with-openssl option.  If you installed from a package
then complain to whoever made the package.

--
Michael Fuhr

pgsql-general by date:

Previous
From: babu
Date:
Subject: pgsql and php with ssl mode.
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql and php with ssl mode.