Search found 1 match
- Tue Jun 10, 2008 12:46 pm
- Forum: Linux
- Topic: Problem on running exec() in Linux
- Replies: 1
- Views: 1669
Problem on running exec() in Linux
Hi, I have some problem running exec() in php in linux My scenario as below: 1) I have add JAVA_HOME in etc/profile 2) When I run the exec () in php, the error is Error: JAVA_HOME is not defined correctly. We cannot execute java 3) But when I run the same command in command line(root user), the scri...