Subject | Re: [firebird-php] Firebird and PHP-Interbase extension on a Mac (bsd) |
---|---|
Author | Milan Babuskov |
Post date | 2005-08-19T07:28:18Z |
Just a few remarks to these fine instructions:
Nigel Weeks wrote:
tools), so it's not good. Also, isql is rarely in the PATH, so which
will probably produce nothing. But, since he's using Firebird on OSX,
I'm sure he knows where it is already, so it's not an issue.
something similar.
--
Milan Babuskov
http://www.flamerobin.org
Nigel Weeks wrote:
> 3.Mind you, there could a another utility called isql (like some ODBC
> If the previous one worked, and all dependencies are found ok, do the
> ./configure again, but add the --enable-interbase=/path/to/firebird.
> (I'm not sure where Firebird will be on OSX, but a `which isql` should tell
> you)
> If this works ok, and it can find all the dependencies, you're ready to
> compile.
tools), so it's not good. Also, isql is rarely in the PATH, so which
will probably produce nothing. But, since he's using Firebird on OSX,
I'm sure he knows where it is already, so it's not an issue.
> 5.The easiest way to find it is to look in php.ini for ExtensionsDir or
> Copy this file to your PHP extensions directory. On a Fedora machine I have
> access to, this is '/usr/lib/php4/'. On FreeBSD, it's
> '/usr/local/lib/php/20040412/'
something similar.
> 6.IIRC, you can get php.ini location by looking at output of phpinfo();
> Tell PHP about the new extension. In your 'php.ini', uncomment/add the line
> 'extension=interbase.so'.
> On FreeBSD, this is in '/usr/local/etc/php.ini'
> My Fedora machine has a directory in '/etc/php.d/' that contains an
> 'interbase.ini' file the above line in it - might be an installation
> specific thing, I dunno. Just letting you know! :-)
--
Milan Babuskov
http://www.flamerobin.org