php3-list | 199807
Date: 07/21/98
- Next message: Alex Belits: "Re: [PHP3] PHP with Zeus?"
- Previous message: brian moore: "Re: [PHP3] Safemode ?"
- In reply to: Stephen L. Fichtner: "Re: [PHP3] Openlink and unified ODBC"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] Openlink and unified ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jul 21, 1998 at 09:46:04AM -0500, Stephen L. Fichtner wrote:
> Thanks,
> Ought to be easier to compile now. But I have another question about
> OpenLink and PHP. OpenLink wants to find a .odbc.ini file in the home
> directory of the openlink user. My Apache and PHP module runs as user
> nobody which points to /dev/null for a home directory. To get PHP to
> 'find' the .odbc.ini file, I changed the 'nobody' home directory to
> /home/nobody and created that directory and put the .odbc.ini file in it.
> Then it all worked.
>
> What should I really do?
:) I've been thinking the same thing. From the source of iodbc-2.12, it
looks like the location of .iodbc.ini is wired in. Check the misc.c source
file. This could be changed easily enough, but unfortunately this version
of the iodbc library doesn't seem to be compatible with what Openlink
provides. And they only provide binaries, not source. Perhaps we could
trick it into looking somewhere else by setting the HOME environment variable
before using odbc functions? Otherwise, I'm open to suggestions, as I'll
be reaching this point in a few more days.
Robbie
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Alex Belits: "Re: [PHP3] PHP with Zeus?"
- Previous message: brian moore: "Re: [PHP3] Safemode ?"
- In reply to: Stephen L. Fichtner: "Re: [PHP3] Openlink and unified ODBC"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] Openlink and unified ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

