I currently have a site on my local computer that uses PHP to invoke the .jar program. It works great when I run it on my local machine.
When I upload it to my host and try to run the same .jar file, I do not get output ...
Do you know why this is so? Do I need to modify PHP.ini on my remote host to allow jars to be executable or something else?
Any help is appreciated. Thanks Phil
EDIT:
Code snippet: shell_exec ("java -jar news.jar get phil")
get and phil are two parameters for news.jar. I use Windows XP on my local machine and I just have simple PHP MySQL hosting on the Internet. Does hosting like this not support shell_exec () calls?
source
share