Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wampserver: problems to load php_pdo_pgsql and php_pgsql modules

Tags:

wampserver

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.

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).

I am using WampServer 2.2 for Windows x64 with PHP 5.4.3

like image 530
matt Avatar asked Jul 11 '12 19:07

matt


1 Answers

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"

It worked for me

like image 124
Olivier RICCA Avatar answered Jan 03 '23 16:01

Olivier RICCA