Jump to content

PostgreSQL on WampServer


Recommended Posts

I understand that this might not be the place for this topic, but I'm needing help!

 

I am currently running WampServer 2.0i (Apache 2.2.11, PHP 5.3.0, MySql 5.1.36)

As installed all works great.

I installed PostgreSQL 8.4 listing on port 5432. It works great outside of Apache/PHP

I enabled pdo_pgsql.dll and pgsql.dll in php.ini and restarted Apache. It seems that it is not loading the .dll files as I am getting Fatal Error: undefined function pg_connect, when you try to connect to the database. Also when you look in phpinfo() under PDO drivers it only mentions mysql and sqlite. No mention anywhere about PostgreSQL.

 

I have been looking around and it seems that this is an issue with WampServer after PHP version 5.2.5 or .6

Does anyone have any suggestions?? I really need to get this working!

Link to comment
https://forums.phpfreaks.com/topic/181258-postgresql-on-wampserver/
Share on other sites

In case anyone is interested problem solved as follows:

 

I removed the WampServer 2.0i version that I was using and installed WampServer 2.0c in it's place.

 

I then went to the following site:

 

[www.blog.bmedon.net]

 

This site is in a non English language, so click on the 'Translate' Button on the top right to get it in English.

 

and get their copies of the following to dll's

 

php_pdo_pqsql.dll

php_pqsql.dll

 

place them into your ext directory

enable php_pdo_pqsql.dll and php_pqsql.dll in your php.ini and restart your Apache server.

 

It worked for me the first time.

 

I never heard any info from WampServer personnel concerning this issue.

 

ended up with the following versions of everything:

 

Apache 2.2.8

PHP 5.2.6

MySQL 5.0.51a

PostgreSQL 8.2.3

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.