PHP + PostgreSQL with SSL connection

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP + PostgreSQL with SSL connection

Postby st3fan » 13. September 2005 08:51

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.
st3fan
 
Posts: 1
Joined: 13. September 2005 08:28
Location: Sosnowiec, Poland

Re: PHP + PostgreSQL with SSL connection

Postby rebrain » 21. March 2013 18:26

Well darn it. Exactly my question. Unanswered. Anyone?
rebrain
 
Posts: 1
Joined: 21. March 2013 18:24
XAMPP Version: 5.6.3
Operating System: Windows 7 64bit

Re: PHP + PostgreSQL with SSL connection

Postby Altrea » 21. March 2013 18:39

We can't support third party applications like PostgreSQL here, sorry.
Please ask your question at a PostgreSQL support board.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6830
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 77 guests