php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49373 Unable to load dynamic library ".....php_pdo_pgsql.dll' -..."
Submitted: 2009-08-26 13:45 UTC Modified: 2009-08-26 15:14 UTC
From: ejike dot chux at gmail dot com Assigned:
Status: Not a bug Package: PDO related
PHP Version: 5.2SVN-2009-08-26 (snap) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ejike dot chux at gmail dot com
New email:
PHP Version: OS:

 

 [2009-08-26 13:45 UTC] ejike dot chux at gmail dot com
Description:
------------
Unable to load dynamic library '.....php_pdo_pgsql.dll' - The specified module could not be found.

In case you get the above error when using php5.2.6 - 5.3 go to this link and click on the second link on the page. You get a rar file which you unload its contents into you extensions folder(in windows, dont know if the problem exists in other OS) The files inside are the proper versions of the dll files php needs in windows

This is the link:
http://www.bmedon.net/download.html

I got this solution after I tracked it down to http://www.wampserver.com/phorum/read.php?2,52679

Reproduce code:
---------------
*

Expected result:
----------------
*

Actual result:
--------------
Unable to load dynamic library '.....php_pdo_pgsql.dll' - The specified module could not be found.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-26 15:07 UTC] jani@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

And use the provided dlls..
 [2009-08-26 15:10 UTC] pajoye@php.net
Be sure to have libpq.dll in your PATH. 
 [2009-08-26 15:14 UTC] pajoye@php.net
And for other readers, pls do not follow the advice here, it works perfectly well with the DLL we provide and you have to use it. Ex:

G:\test\php52> php -d extension_dir=ext -d extension=php_pdo.dll -d extension=php_pdo_pgsql.dll -m
[PHP Modules]
bcmath
...
odbc
pcre
PDO
pdo_pgsql
...

[Zend Modules]
 [2010-09-05 12:14 UTC] andfinally at gmail dot com
This worked for me, thanks very much!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 18:01:30 2024 UTC