apache2 env path

sheldon sheldon at oneblackbear.com
Thu Jan 8 02:56:23 PST 2009


Rainer Müller <raimue <at> macports.org> writes:

> Try to set PATH including /opt/local/bin in the httpd.conf for the
> corresponding vhost (or even global).
> 
> See <http://httpd.apache.org/docs/2.2/mod/mod_env.html#setenv>
> 
> HTH,
> Rainer

Thanks for the idea, I've tried this approach. Unfortunately it seems to have
no effect on the path that mod_php actually sees. I'm not sure if it's an apache
security thing or something else.

Is there any chance anyone would know why this wouldn't work?

SetEnv PATH $PATH:/opt/local/bin



More information about the macports-users mailing list