Is extension pgsql loaded: yes (if "no" pg_connect will fail)
trying to make a connction, using:
>host=homer.u.washington.edu dbname=postgres port=45677 user=dave password=pass<
host: >homer.u.washington.edu<
dbname: >postgres<
port: >45677<
user: >dave<
password: >pass<
Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running on host "homer.u.washington.edu" (128.208.60.222) and accepting
TCP/IP connections on port 45677?
could not connect to server: Connection refused
Is the server running on host "homer.u.washington.edu" (128.208.60.197) and accepting
TCP/IP connections on port 45677?
could not connect to server: Connection refused
Is the server running on host "homer.u.washington.edu" (128.208.60.206) and accepting
TCP/IP connections on port 45677? in /nfs/aesop1/hw00/d37/info445/apps/snacks/test_db.php on line 18
Warning: pg_last_error(): No PostgreSQL link opened yet in /nfs/aesop1/hw00/d37/info445/apps/snacks/test_db.php on line 19
Could not connect