Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, and a variety of Unix platforms. For more information, please see: Firebird homepage and the about Firebird page.
Client library need to be built against the Firebird's engine version running in the destination environment. The best official stable release is Firebird 2.5.2 32-bit and 64-bit for windows. Beware that your web application server may be running a different OS from database server. That means that you can have a web server trying to connect a firebird database server running on Linux or other Unixes. If this is the case you must deploy anyway the correct firebird's client library and install in system directory.
In the complete file list there are a lot of file, for many different scopes. Don't select this types of files:
The files to download are then in the form Firebird-x.y.z.t-so.exe where
If your firebird database server is installed in another machine than web server running PHP, you must select the same version of your database server (x, y and the most recent z), but the so of your web server.
You must detect which version is running: you may need an administrator tool, or in %ProgramFiles%\Firebird\Firebird_x_y\bin try in a terminal session the command
See also here.
If the database server is installed in the same machine of development, needed libraries and include files are allready installed in proper directories.
If the database server is installed in another machine, the you need to install development files and firebird's client libraries from sourceforge repository.
Packages are downloadble from sourceforge's repository. Select
* firebird-win32 for 32-bit windows ( here direct link )
* firebird-win64 for 64-bit windows ( here direct link )
Each windows package, if desired, can install only client and development files: you are requested to check desired options during .exe installation. So, for development purposes only, don't check to install server engine option: each major version installs in a different subdir in the %ProgramFiles%\Firebird\ directory, so you can select which version build changing selected dir in %lib% and %include% user environment variables.
In order to compile php_interbase.dll shared library against any Firebird_x_y version, you need to have this files
If any of the files in lib or include subdirs is missing, you may have not checked for installing the development support files. If fbclient.dll is missing you can create it with these steps (sobstitute x and y with your version's numbers and note space between i and f in instclient command):
instclient i f
I have wrote the steps in compiling php_interbase.dll with using the Firebird 2.5.x binaries here but if you want to debug the Firebird client dll or the engine you should follow the steps bellow (requires Firebird 2.5.x compilation also php 5.3.x compilation using the same runtime to be possible a correct debug environment)
Read how to build Firebird with Visual Studio 20xx http://firebird.svn.sourceforge.net/viewvc/firebird/firebird/trunk/doc/README.build.msvc.html