|
Posted by Good Man on 01/08/06 21:25
Good Man <heyho@letsgo.com> wrote in
news:Xns97439C7BF174sonicyouth@216.196.97.131:
> Thanks for the tip. Indeed, comparing the "env" outputs, I see my
> telnet user has
> "/usr/java/j2sdk1.4.2_06/bin:/usr/java/j2sdk1.4.2_06/jre/bin" listed
> in the PATH: variable, while those lines are absent from the apache
> user's PATH. I am guessing that the problem is exactly this - the
> user 'apache' has no access to java.
>
> I have spoken with the tech support people running my box and asked
> them to add the Java path to the apache user, and I will post the
> result to the NG for future reference and interest.
To follow up, this was exactly the problem. Adding the path to the apache
user enabled me to call a java program via PHP.
Hope this helps someone in the future too!
Navigation:
[Reply to this message]
|