Skip site navigation (1) Skip section navigation (2)

Re: [PHP] Re: SSL use

From: "-k(dot)" <telirum(at)yahoo(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>,"ruel(dot)cima" <ruel(dot)cima(at)facinf(dot)uho(dot)edu(dot)cu>
Cc: php-general(at)lists(dot)php(dot)net, pgsql-novice(at)postgresql(dot)org
Subject: Re: [PHP] Re: SSL use
Date: 2005-04-22 22:02:25
Message-ID: 20050422220225.26379.qmail@web31007.mail.mud.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-novice
> > from my php script, do i need to make a special
> > connection to the database
> > or is the same e.g pg_connect(host= localhost
> >dbname=test user=p
> > password=p)?
> 
> You could add "sslmode=require" to attempt only an
> SSL connection.

I have couple related questions:

Is this necessary if the database is running on the
same machine (as implied by "host= localhost")? If so
why?

Is it possible to make an SSL connection between
Apache and Postgres using Unix-domain sockets?




-k.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

Responses

pgsql-novice by date

Next:From: Michael FuhrDate: 2005-04-22 23:09:49
Subject: Re: [PHP] Re: SSL use
Previous:From: Michael FuhrDate: 2005-04-22 21:21:20
Subject: Re: SSL use

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group