Subject | Re: [firebird-php] firebird path |
---|---|
Author | Milan Babuskov |
Post date | 2005-05-23T17:41:06Z |
Lester Caine wrote:
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
>>>Anybody got a way of accessing the path to the firebird directory from PHP?Even if it did, you probably wouldn't get it from PHP, since PHP runs in it's
>>
>>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?
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