PHP can't load some libraries

qxlab picture qxlab · Aug 19, 2012 · Viewed 8.7k times · Source

First I'm using Windows 7 64 bits, WAMP 32 bits and firebird 32 bits.

I'm trying to use PHP with firebird or interbase, so I uncommented the following lines from my php.ini file:

extension=php_pdo_firebird.dll 
extension=php_interbase.dll

Then when I start WAMP the following errors occurs:

1)PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_interbase.dll' - The specified module could not be found.
2)PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_pdo_firebird.dll' - The specified module could not be found.
3)The program can not start because your computer is missing fbclient.dll. Try to reinstall it to resolve this issue.

What I have already tried:

1) Restart computer :)
2) Copy fbclient.dll to system32
3) Copy fbclient.dll to system32 and rename it to gds32.dll
4) Copy php_pdo_firebird.dll and php_interbase.dll from C:\wamp\bin\php\php5.3.13\ext to system32
5) Copy all dll from C:\wamp\bin\php\php5.3.13 and C:\wamp\bin\php\php5.3.13\ext to system32
6) Add C:\wamp\bin\php\php5.3.13\ext to my system PATH variable

Does anyone have any idea how I could fix this? Thanks!!!

Answer

user1593705 picture user1593705 · Aug 19, 2012

WAMP is coming from this site ? http://www.wampserver.com/ if so ; why dont you the 64bits build instead of 32 ? Im' not sure that DLL 32bits can be use on Windows7 64bits.