Re: apache2 env path

2009-01-09 Thread sheldon
Thanks very much for all the help, I'm convinced the right place to be asking is the php maillist. Sheldon ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: apache2 env path

2009-01-08 Thread Ryan Schmidt
On Jan 8, 2009, at 04:56, sheldon wrote: Rainer Müller macports.org> writes: Try to set PATH including /opt/local/bin in the httpd.conf for the corresponding vhost (or even global). See HTH, Rainer Thanks for the idea, I've tried

Re: apache2 env path

2009-01-08 Thread sheldon
Rainer Müller macports.org> writes: > Try to set PATH including /opt/local/bin in the httpd.conf for the > corresponding vhost (or even global). > > See > > HTH, > Rainer Thanks for the idea, I've tried this approach. Unfortunately it

Re: apache2 env path

2009-01-08 Thread sheldon
Ryan Schmidt macports.org> writes: > exec("/opt/local/bin/identify 2>&1", $output, $error_code); Thanks for the idea, it does work if I use an absolute path. Unfortunately this approach isn't very practical since it would hard code the path to Imagemagick in my web framework. It would mean havi

Re: apache2 env path

2009-01-07 Thread Rainer Müller
sheldon wrote: > I'm using apache2 installed and running via macports in /opt/local. I'm using > php to run a exec() function via a script and would like to set the path > apache > has access to so I can run ImageMagick commands to convert images via php. > Since > ImageMagick was installed via m

Re: apache2 env path

2009-01-07 Thread Ryan Schmidt
On Jan 6, 2009, at 09:25, sheldon wrote: I'm using apache2 installed and running via macports in /opt/local. I'm using php to run a exec() function via a script and would like to set the path apache has access to so I can run ImageMagick commands to convert images via php. Since ImageMagic

apache2 env path

2009-01-06 Thread sheldon
Hi I'm using apache2 installed and running via macports in /opt/local. I'm using php to run a exec() function via a script and would like to set the path apache has access to so I can run ImageMagick commands to convert images via php. Since ImageMagick was installed via macports too, it's executa