title: PHP Startup: Unable to load dynamic library
body: <p>I am trying to use Firebird 2.5.2.26539 with:</p>
  
  <ul>
  <li>Windows 8</li>
  <li>Apache 2.2.22</li>
  <li>PHP 5.4.10</li>
  </ul>
  
  <p>When i enable the extensions of firebird in php:</p>
  
  <pre><code>- extension=php_interbase.dll
  - extension=php_pdo_firebird.dll
  </code></pre>
  
  <p>I get these errors:</p>
  
  <blockquote>
    <p>[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</p>
    
    <p>[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</p>
  </blockquote>
  
  <p>if i make PHP -a in command line, the error message is different: cannot find fbclient.dll.</p>
  
  <p>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:</p>
  
  <blockquote>
    <p>[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</p>
    
    <p>[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</p>
  </blockquote>
  
  <p>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.</p>