$dbconn = pg_connect("host=localhost dbname=mydbname user=myuser password=mypass") or die(pg_last_error());
返回Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1 ...",
我应该做什么?
PS In 文件php.ini
模块extension php_pgsql.dll
已启用