Wednesday, April 11, 2007

How to: enable support Firebird / Interbase after install PHP on Linux (create interbase.so)

Once there was a need to add to the PHP installed on the server operating system Fedora Core 3 for Databases Interbase, and Firebird precisely 1.5, as it is the server has been installed. It turns out that PHP was installed and configured during the installation of the operating system. To solve the problem of the need to get interbase.so library. I have PHP version 4.3.9, it had to seek it is a version of the source. It was the gunzip source and compilation BUT WITHOUT INSTALLATION!
./configure --with-interbase=shared
make

END, NOT make install. The catalogue modules appears interbase.so. The copy in a folder, which contains similar library for PHP and edit php.ini place where PHP will seek library parameter determines extension_dir Section Dynamic Extensions write line extension = interbase.so Then restart Apache (service httpd restart or there you), and enjoy.
© Ramzaj

No comments: