This is a discussion on Re: [PHP] Re: SSL use within the pgsql Novice forums, part of the PostgreSQL category; --> > > from my php script, do i need to make a special > > connection to the database ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > > 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/ ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |