Re: Using mogrify ..

From: Date: Fri, 20 Apr 2001 07:44:06 +0000
Subject: Re: Using mogrify ..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49531@lists.php.net to get a copy of this message
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 <mathur@m-web.com> 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: > majordomo@imagemagick.org > > Include the following command in the body of your message: > unsubscribe magick-user > ***********************************************************************

« previous php.general (#49531) next »