为pgsql启用SSL支持 [英] Enable SSL support for pgsql

查看:603
本文介绍了为pgsql启用SSL支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

phpinfo() pgsql 部分下, SSL支持当前已禁用





如何启用它?

解决方案

这实际上是关于对Pgsql的SSL支持。



库libpq可能没有使用SSL支持进行编译。
您自己构建了pgsql和/或libpg软件包吗?
如果是这样,则可以通过--with-openssl

选项进行编译来启用它。如果您自己没有进行编译,请尝试使用以下命令找到一个软件包:内置SSL。


In phpinfo(), under the pgsql section, SSL support is currently disabled:

How can I enable it?

解决方案

This is about SSL support of Pgsql really.

The library libpq is probably not compiled with SSL support. Have you built the package of pgsql and/or libpg yourself? If so, you can enable it by compiling with the option --with-openssl

If you did not compile it yourself, try to find a package with SSL built in.

这篇关于为pgsql启用SSL支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆