I\'ve set in my custom.conf file in apache2 this:
SetEnv PATH $PATH:/opt/local/lib/mysql5/bin:/this-is-a-test
However it\'s not working. Wh
This question is old, but in case it helps others, if you are using Windows with mod_fcgid check if you have the FcgidInitialEnv set in your httpd.conf, and remove it to adopt the System PATH.
mod_fcgid
FcgidInitialEnv
httpd.conf