From: strk <st...@ke...> - 2005-10-17 17:37:57
|
Hello, I've patched the lib/pgsql.php script to allow for local (socket-based) connections. Required change is at line 45 of that file: if ( defined($pg_dbhost) && $pg_dbhost != "" ) $connectstring = $pg_dbhost?"host=$pg_dbhost ":""; This way you can set pg_dbhost to the empty string and the socket will be used. --strk; |