I am using wamp on a windows machine and just wanted to invoke an exe on this via a php web page. When I am launching the php from commandline on server its working fine but when invoke same php via browser from other machine it does not work and waits forever. My php file is like this
<?php
exec("calc.exe");
?>
When I access this from client (http://servername/exec.php) it waits forever. I know its a permission issue with apache on windows, but not sure how to fix this.