为pgsql启用SSL支持 [英] Enable SSL support for pgsql
本文介绍了为pgsql启用SSL支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 phpinfo()
的 pgsql
部分下, SSL支持
当前已禁用:
如何启用它?
解决方案
这实际上是关于对Pgsql的SSL支持。
库libpq可能没有使用SSL支持进行编译。
您自己构建了pgsql和/或libpg软件包吗?
如果是这样,则可以通过--with-openssl
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屋!
查看全文