Hey everyone,
I have a jar file that I would like to execute using PHP, but when I run the script all I get is the following error: Could not reserve enough space for object heap. I have done some searching and it seems as though I am getting this because the command isn't being executed in a login shell. If this is the case how do I do so? I have tried both shell_exec()
and exec()
and both produce the same error.
Thanks for the help!