From a php script I need to launch a new php script in background. I expect this to be working:
shell_exec("php mySecondScript.php &");
Execution of main script hangs and secondScript is not even started. Of course if I remove '&' the script is executed, but synchronously. Any reason for this?