Solved

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

Posted on 2011-09-10
3
1,162 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 82

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 82

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.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
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.

707 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

19 Experts available now in Live!

Get 1:1 Help Now