Subject Re: [ib-support] interbase.so
Author Frank Schlottmann-Goedde
Art Fore schrieb:
> This is a very elusive file. Have not found where to download it.
> Problem is, I compile php with the --with-interbase=/opt/interbase, it
> compiles fine, installs fine in /usr/local/php. Well, Suse installs php
> in /usr/share/lib/php, so Apacha does not recognize it and come up that
> it has to be compiled or interbase.so loaded with php.ini. Seems to be
> three options here where I have not found any solutions for.
>
> 1. Some how get the Suse to add the option to the rpm somehow.
>
> 2. Some how, change the installation of the new compiled php path to
> overwrite the Suse intallation.
>
> 3. Find interbase.so and put it in the proper place and laod it with php.ini
>
> Has anyone any info on any of the three options above? If I can't find
> an answer, guess I'll have to give up on Firebird as a database. Was
> sure hoping on being able to use it.


First of all, take a look at
http://sdb.suse.de/sdb/en/html/ke_source-rpm.html

It seems that you should use mod_php4.spm to compile php4 as an apache
module.

Install the source rpm for your distribution and change
/usr/src/packages/SPECS/mod_php4.spec to include

--with-interbase=/usr/local/firebird

then follow the instructions from the link above to build and install
your new php-module.


hth

Frank

--

"Fascinating creatures, phoenixes. They can carry immensely heavy loads,
their tears have healing powers and they make highly faithful pets."
- J.K. Rowling
http://firebirdsql.org