Wampserver:加载 php_pdo_pgsql 和 php_pgsql 模块的问题 [英] Wampserver: problems to load php_pdo_pgsql and php_pgsql modules

查看:21
本文介绍了Wampserver:加载 php_pdo_pgsql 和 php_pgsql 模块的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Wampserver 在加载 php_pdo_pgsql 和 php_pgsql 模块时出现问题.在多个论坛上搜索后,解决方案是从 http://www.bmedon.net/download.html both 下载.dll 文件并覆盖现有文件.

Wampserver has a problem when loading php_pdo_pgsql and php_pgsql modules. After searching on several forums the solution is to download from http://www.bmedon.net/download.html both .dll files and overwrite the existing ones.

问题是它不起作用!我检查了所有 php.ini 文件.我跟着 http://diego-loquese.blogspot.com/2010/12/conectar-wampserver-con-postgresql.html 说明(这是我找到的所有论坛的摘要).

The problem is that it didn't work! I checked all php.ini files. I followed http://diego-loquese.blogspot.com/2010/12/conectar-wampserver-con-postgresql.html instructions (which is a summary of all the forums I found).

我使用 WampServer 2.2 for Windows x64 和 PHP 5.4.3

I am using WampServer 2.2 for Windows x64 with PHP 5.4.3

推荐答案

你必须像这样在httpd.conf中加载php自带的libpq.dll:

You have to load libpq.dll that comes with php, in the httpd.conf like this:

LoadFile "c:/wamp/bin/php/php5.4.3/libpq.dll"

它对我有用

这篇关于Wampserver:加载 php_pdo_pgsql 和 php_pgsql 模块的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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