Hey guys
I get this error in php:
Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host localhost and accepting TCP/IP connections on port 5432? . in /www/index.php on line 7
PHP code
$conn = pg_connect("host=localhost user=***** password=**** dbname=***** ");
remove "host=localhost" ?