Subject | Re: [firebird-php] connecting to a db ... |
---|---|
Author | Antonio Galicia |
Post date | 2006-04-05T05:19:04Z |
On 4/4/06, Jochem Maas <jochem@...> wrote:
the database file *AND* for the security database
(/var/lib/firebird2/system/security.fdb). For security just add apache
user to firebird group.
# su - www-data
$ isql-fb database_alias
$ isql-fb localhost:database_alias
--
Saludos,
Toño
----
http://agc.com.mx/antoniogc/blog
> the isql cmdline tool but connection from php gives me the following:Check if the apache user (www-data) have permision to read/write for
> Warning: ibase_connect(): Unable to complete network request to host "localhost".
> Failed to establish a connection. Permission denied in ...
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