I have tried both Apache/PHP and Nginx/PHP with nearly the same configuration.
I am running this script:
<?php
exec("calc.exe");
?>
In Apache/PHP, calc.exe is not opened but is found running as a background process. In Nginx/PHP, calc.exe is opened properly.
I would like to use Apache/PHP to open calc.exe properly.