On Wed, 30 Jan 2013, Allin Cottrell wrote:
On Wed, 30 Jan 2013, Ryan Dagey wrote:
> Thanks for the reply. We are simply running gretlcli from within php which
> should execute as apache user. Now this user has no home directory, so if
> that causes gretlcli to default to root directory [...]
Environment variables are just one way to get gretlcli to use a set of
defaults that work for your usage of the program via PHP (since the built-in
defaults are problematic in this case).
I've made a further change in CVS: just one environment
variable is needed to get things working right -- at least on
a simple test that I have run. Please see the account I have
put at
http://gretl.sourceforge.net/slave/ .
Allin Cottrell