Subject Re: [firebird-php] connecting to a db ...
Author Antonio Galicia
On 4/4/06, Jochem Maas <jochem@...> wrote:

> the isql cmdline tool but connection from php gives me the following:

> Warning: ibase_connect(): Unable to complete network request to host "localhost".
> Failed to establish a connection. Permission denied in ...

Check if the apache user (www-data) have permision to read/write for
the database file *AND* for the security database
(/var/lib/firebird2/system/security.fdb). For security just add apache
user to firebird group.

> I'm sure that someone here can put me out of my misery, how do I get it too connect?

Try:

# su - www-data
$ isql-fb database_alias
$ isql-fb localhost:database_alias

--
Saludos,
Toño
----
http://agc.com.mx/antoniogc/blog