|  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
 [2009-08-26 13:45 UTC] ejike dot chux at gmail dot com
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:

I got this solution after I tracked it down to,52679

Reproduce code:

Expected result:

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-26 15:07 UTC]
Please try using this snapshot:
For Windows:

And use the provided dlls..
 [2009-08-26 15:10 UTC]
Be sure to have libpq.dll in your PATH. 
 [2009-08-26 15:14 UTC]
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]

[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: Wed Jul 24 13:01:29 2024 UTC