Solved

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

Posted on 2011-09-10
3
1,211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

615 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