【发布时间】:2019-10-18 16:12:28
【问题描述】:
当我尝试使用 PHP 连接到 Postgresql 服务器时出现错误,并且出现如下错误:
无法连接到 PostgreSQL 服务器:SCRAM 身份验证需要 libpq 版本 10 或更高版本
我使用 EnterpriseDb,并且在我的代码中是 pg_connect();,我不知道出了什么问题。
【问题讨论】:
-
更新您的 PostgreSQL 客户端共享库 (
libpq.so)。 -
你是如何在你的 PHP 机器上安装 postgres/libpq/postgresql-client 的?
标签: php postgresql enterprisedb