Home > Cpanel Server > Install & compile Firebird InterBase database server with PHP on Linux Server ?

Install & compile Firebird InterBase database server with PHP on Linux Server ?

March 18th, 2009 Leave a comment Go to comments

What is firebird

Firebird is an open source relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, powerful language support for stored procedures and triggers. It has been used in many production systems within a large number of commercial companies since 1981.

Steps to compile compile firebird module with php

  • Download the firebird module
 #cd /usr/src
 #wget http://nchc.dl.sourceforge.net/sourceforge/firebird/
       Firebird-2.0.3.12981-1.tar.bz2

  • Manually build and install the firebird module
#tar -jxf Firebird-2.0.3.12981-1.tar.bz2
#cd Firebird-2.0.3.12981-1
#mv Firebird-2.0.3.12981-1 firebird
#cd firebird
#./autogen.sh; make;make install

  • Rebuild PHP along with the firebird
–with-interbase=/usr/src/firebird’ option.

When installing is finished, open the php.ini configuration file (located in /usr/local/lib/), and check if these lines exist (uncomment/modify them if necessary):

magic_quotes_sybase = On ; Use Sybase-style magic quotes (escape ' with '' instead of ')
extension=php_interbase.so

magic_quotes_sybase = On;Use Sybase-style magic quotes (escape ' with '' instead of ')
extension=php_interbase.so

4) check php module using php -m command

Regards

Stacy

System Administrator.

  1. April 17th, 2011 at 01:22 | #1

    Thanks for this, wish I had found this first to save a lot of time! Found one similar but it did not specify where php.ini was or have as much info on what to do in that file.

  1. April 23rd, 2009 at 18:22 | #1