[NBLUG/talk] New subscriber to the list!

ME dugan at passwall.com
Sat Jul 5 11:17:00 PDT 2003


augie said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Todd Cary wrote:
> [...]
>> Now I have a newer computer with RH 9 but I need to re-compile Apache
>>  with PHP that has the Interbase extensions (my client uses
>> Interbase). Though I understand the concepts, I am lost when it comes
>> to the syntax to do this.  Any references to literature would be
>> greatly appreciated.
>
> according to the documentation:
>
> http://us3.php.net/manual/en/ref.ibase.php
>
> "Full support for InterBase 6 was added in PHP 4.0."
>
> so you may not have to recompile anything, as long as you have at least
> php 4.0 on the server. if you do however need to recompile php the above
> docs say this:
>
> "To enable InterBase support configure PHP --with-interbase[=DIR], where
> DIR is the InterBase base install directory, which defaults to
> /usr/interbase."
>
> augie.

Augie brings up an excellent time-aving point:
If you use the pre-packaged php, then it may have interbase support built-in.

How do you know?

first install the php package...

then...

One method is to call the php application with "-i"
$ php -i
to see what options are included. If you see interbase listed and enabled,
then you may not need to build your own.

Another method is to call the phpinfo() function from a php enabled web page:

create file name "info.php" (example name) and locate it in a web served
directory that can parse php-based pages.

in this file, create content like this:
------ cut after here ------
<?php

phpinfo();

?>
------ cut before here ------

When you visit that page, you should be able to see how php was built
(with what options) in a web page.





More information about the talk mailing list