Solved

PHP 5.3 on can't find php_pdo_pgsql.dll for postgres

Posted on 2011-09-10
3
1,170 Views
Last Modified: 2012-05-12
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.5/ext/php_pdo_pgsql.dll' - The specified module could not be found.

Anyone know where I can find compatible dlls for postgres 9 and PHP 5.3? PHP by default can't find them.
0
Comment
Question by:metalaureate
  • 2
3 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36517066
They come with WAMP and PHP 5.3.  In the popup from the tray icon for PHP extensions, you put a check mark in front of 'php_pgsql' and 'php_pdo_pgsql'.  However, reading the comments in the WAMP forum it appears that not all versions work properly.  One comment says that EasyPHP does work right so you might want to check that out.  Here's one of the posts: http://www.wampserver.com/phorum/read.php?2,52679

And since PostgreSQL is not part of WAMP, you also have to do some extra manual configuration and put at least one DLL where Apache/PHP can find it.
0
 

Author Comment

by:metalaureate
ID: 36517278
I'm using wamp but the default dlls dont work with postgres 9
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 36517290
You normally can not substitute DLLs from other versions of PHP.  PHP checks the version of the extensions to make sure they are compatible with the main interpreter.

A number of people in the WAMP forum said that several versions of those DLLs simply did not work.  If that is the case with what you have, you must change to a different version of PHP or find something other than WAMP.   Someone recommended EasyPHP as an alternative.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now