Subject | Re: Installing PHP-Firebird |
---|---|
Author | vengfulsquirrel |
Post date | 2003-11-27T21:58:52Z |
--- In firebird-php@yahoogroups.com, Milan Babuskov <albis@e...> wrote:
works and I can list the tables so I think it is something to do with
the way I incorporated php into apache or something.
Do you know what files need to be changed, I am using Suse 9.0 so the
rpm does not work at all and the install script says it works but then
I get all the permission denied errors. I can't remember if I
compiled php4 with shared or not what difference will that make?
Thanks.
-Ian
> vengfulsquirrel wrote:connect
> > 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
> to database with something like 'LOCALHOST:/path/to/db/file' to make/opt/firebird/isql connect 'localhost:/opt/firebird/anecesis.fdb'
> 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
works and I can list the tables so I think it is something to do with
the way I incorporated php into apache or something.
Do you know what files need to be changed, I am using Suse 9.0 so the
rpm does not work at all and the install script says it works but then
I get all the permission denied errors. I can't remember if I
compiled php4 with shared or not what difference will that make?
Thanks.
-Ian