> I couldn't without modifying either postgresql.conf or start PostgreSQL
> with --i

There must be something wrong.  PHP should be able to connect via
Unix-domain sockets.

I'll be the first to admit that I might have made a mistake. This is on a box I use for testing only.. so nothing bad will happen if I muck things up..


This is the error I got in my errorlog:
Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/5432"?
in /path_to/filename.php on line 61


From a little search on Google it seems a pretty common problem.. So if I made a mistake I'm probably not the first :-)



B.


---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to