Subject RE: [firebird-support] Re: FB252 with PHP5.4.10 Apache 2.2.22 gives PHP Warning: PHP Startup: Unable to load dynamic library C:\Program Files (x86)\PHP\ext\php_interbase.dll
Author Jonathan Finch
Jonathan D. Finch
Principal Consultant
Rushmore Information Services, LLC
571-331-0774tomsee7 <tomconlon7@...> wrote:Hi Nenhum,

We had this problem once and found that by putting the fbclient.dll in the same folder as php.exe fixed it.

Kind regards,
Tom

--- In firebird-support@yahoogroups.com, Nenhum Pois é <nenhumpois@...> wrote:
>
> Hello,
>
>
>
> I am trying to use Firebird 2.5.2.26539 with:
>
> Windows 8
> Apache 2.2.22
> PHP 5.4.10
>
> When i enable the extensions of firebird in php:
> extension=php_interbase.dll
> extension=php_pdo_firebird.dll
>
> I get these errors:
>
> [26-Dec-2012 12:08:11 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_interbase.dll' - Impossible to locate the specified module.
> in Unknown on line 0
> [26-Dec-2012 12:08:13 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_pdo_firebird.dll' -  Impossible to locate the specified module.
> in Unknown on line 0
>
>
> if i make PHP -a in command line, the error message is different: cannot find fbclient.dll.
>
> I have the flamerobin running and it opens the database. So i copy the fbclient.dll to the PHP root path.
> Then the errors change to:
> [26-Dec-2012 11:55:46 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_interbase.dll' - %1 is not a valid Win32 application.
> in Unknown on line
> 0
> [26-Dec-2012 11:55:46 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_pdo_firebird.dll' - %1  is not a valid Win32 application.
> in Unknown on line 0
>
>
> Can anyone help me on this one? I suspect that this version of Firebird still does not have the correct extensions made for the PHP.
> Thank you.
>
> [Non-text portions of this message have been removed]
>



[Non-text portions of this message have been removed]