title: apache settings block php exec() from executing
body: <p>I have apache 2.4.12 and php 5.5.21 installed on my machine. I’m trying to get a java jar file to execute using php exec (). When I have the php program in a folder outside the apache htdocs, it opens up and executes the jar file without a problem. When I run the same exact program out of the apache (in the htdocs) folder, nothing executes and the web browser just stays in a loading stage (the browser hangs up and eventually will just time out). I think I’ve seen every example out there and can’t pinpoint where the issue is. It’s certainly a permissions issue; I just need to get pointed in the right direction.</p>
  
  <p>Echo shell_exec ("whoami"); gives me "ntauthority/system. When I go to services and change the apache log on to administrator nothing happens. I have read and execute permissions on the jar file in trying to execute. </p>