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


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() []: Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "", 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.
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?
Posts: 1
Joined: 21. March 2013 18:24
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
AF Moderator
Posts: 9358
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests