Subject Re: [firebird-php] Re: Installing PHP-Firebird
Author Milan Babuskov
vengfulsquirrel wrote:
> I figured running as firebird would be better but I cannot really get
> to work since the apache process cannot get access to the db's, I
> really have no idea how that is possible since it should ask the
> firebird server for the info and the server is running a firebird and
> the db's are all owned by firebird. What is your apache process
> running as, is it sharing a group with the firebird user or something?

Apache shouldn't have rights to db file. My guess is that PHP is trying
to make direct (local) connection, and then it fails. You should connect
to database with something like 'LOCALHOST:/path/to/db/file' to make
sure it "goes" through TCP/IP stack. That way it would be like
connecting from some other machine in the network, and system users are
important anymore.

What it your exact connection (database path) string?

--
Milan Babuskov
http://fbexport.sourceforge.net