You're probably okay.
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 /var/www/database/postgres/common.php on line 10