This is the error:
Warning: Unable to connect to PostgreSQL server: fe_sendauth: authentication type 5 not supported in /home/test.php on line 26
This is my connection string:
$db=pg_connect("host=192.168.10.104 port=5432 dbname=test user=username password=mypassword");
If I use "trust" in pg_hba.conf there're no problems, but using "md5" the browser shows this error.
I guess is a pg_hba.conf configuration problem...any ideas?
Thanks. 🙂