Hi !
actually, php is working as a shared object module in apache, which is
dynamically loaded thru a .so file. I will look into this and see if there
is away of initialising these env vars to a value at startup o webserver ..
U absolutely right when u say 1 can set these environment vars, using func
putenv() etc.as in PERL. I have already tried setting te vars PATH and
LD_LIBRARY_PATH, to the correct value, but it doesn't seem to work at all
..
There seems to be something to do with conf of PHP, something in the
php.ini, or may be a FreeBSD specific problem ..
Mathur
Bob Friesenhahn wrote:
> --- Mathur <[EMAIL PROTECTED]> wrote:
> > Hi !
> >
> > I have a very basic question about how the environment
> > variables values are set
> > ..
> > When you telnet, the variables PATH, HOME etc are set in the
> > .profile (Or
> > .bash_profile) file for each user, that's how these
> > Environment variables are
> > initialised .. But where does PHP pick up the values for these
> > Environment
> > variables, Or are these dependent on who is the owner of the
>
> You can set these environment variables by setting them in the
> script that starts the web server's daemon. Alternatively, it
> is likely that PHP has commands to set environment variables,
> which you could set prior to invoking an ImageMagick utility.
>
> Bob
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> ***********************************************************************
> To remove yourself from this mailing list, send mail to:
> [EMAIL PROTECTED]
>
> Include the following command in the body of your message:
> unsubscribe magick-user
> ***********************************************************************