windows 如何在 XAMPP 中捆绑的 PHP 中添加 PostgreSQL 支持?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3627264/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 15:10:20  来源:igfitidea点击:

How can I add PostgreSQL support in PHP bundled in XAMPP?

phpwindowsapachepostgresqlxampp

提问by Jairo

Apache: v.2.2.14
PHP: 5.3.1
PostgreSQL: 8.4
XAMPP: version 1.7.3

Apache:v.2.2.14
PHP:5.3.1
PostgreSQL:8.4
XAMPP:1.7.3 版

回答by VolkerK

XAMPP ships with a php_pgsql.dll/so, i.e. all you have to do is to edit the php.ini and remove the semicolon before

XAMPP 附带一个 php_pgsql.dll/so,即您所要做的就是编辑 php.ini 并删除之前的分号

extension = php_pgsql.dll

and then restart the apache.

然后重启apache。

回答by Frank Heikens