Wampserver:加载 php_pdo_pgsql 和 php_pgsql 模块的问题 [英] Wampserver: problems to load php_pdo_pgsql and php_pgsql modules
问题描述
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屋!