Subject Re: [firebird-php] firebird path
Author Milan Babuskov
Lester Caine wrote:
>>>Anybody got a way of accessing the path to the firebird directory from PHP?
>>
>>This seems like a good reason for installing the FIREBIRD environment variable.
>
> That would be $_ENV['FIREBIRD'] but the firebird installed does not set
> it - does it?

Even if it did, you probably wouldn't get it from PHP, since PHP runs in it's
own environment (at least on Linux).

You could do a search for isql though. There aren't too manu places to check:

/opt/interbase/bin/isql
/opt/firebird/bin/isql
/usr/firebird/bin/isql
/usr/local/firebird/bin/isql
...and Windows' paths too...

--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org