I am trying to connect my postgreSQL with PHP in localhost. I have start up the server with -i flag (i.e. postmaster -D /usr/local/pgsql/data -i &) and edit the pg_hba.conf. However, I still cannot connect with the database. But, when I tried to remote access the database through SSH and I can connect with it.
Would you please offer any suggestions or solutions?
[PHP on Windows]