Can't modify PATH globally for SOAP interaction...
Hello,
I am a linux newbie. I am trying to get a path to a program in the environment PATH. I tried modifying the /etc/profile and adding to PATH, but it doesn't seem to work using the following:
PATH=/usr/local/bin/MEME/meme.3.0.4/bin:$PATH
export PATH
When I log out and log back in, I type printenv PATH, but the PATH does not contain the new program path!!!
I am trying to get the location to the program in the global PATH environment so that any user will be able to call the program without having to modify every user's .bash_profile.
Then I discovered that SOAP interactions or CGI scripts do not load the bash environment (is this correct?). I have a SOAP server that is supposed to run the program, but since it can't see it in the PATH environment, it doesn't work. I am at my wits end after having tried for 3 days. Please help!! Thanks in advance.
|