Page 1 of 1

PHP + PostgreSQL with SSL connection

PostPosted: 13. September 2005 08:51
by st3fan
Hi!

I've got problem with connection to PostgreSQL database. Does XAMPP installation for Windows (xampp-win32-2.4.15-installer) supports SSL connections with this database?
PHP returns me an error:
Code: Select all
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "192.168.0.125", user "xxx", database "db_name", SSL off in D:\Dokumenty\HTML\emrmOnline\inc\psql.php on line 8

How can I turn on SSL? Where is this pg_hba.conf?
Files are located on my local machine but DB is on other computer in LAN.

Re: PHP + PostgreSQL with SSL connection

PostPosted: 21. March 2013 18:26
by rebrain
Well darn it. Exactly my question. Unanswered. Anyone?

Re: PHP + PostgreSQL with SSL connection

PostPosted: 21. March 2013 18:39
by Altrea
We can't support third party applications like PostgreSQL here, sorry.
Please ask your question at a PostgreSQL support board.