How can a PHP script start another PHP script, and then exit, leaving the other script running?
Also, is there any way for the 2nd script to inform the PHP script when i
Here's a shot in the dark: you could try using php's OS execution functions with &
.
exec("./somescript.php &");
Additionally, if that doesn't work, you can try
exec("nohup ./somescript.php &");
Edit: nohup is a POSIX command to ignore the HUP (hangup) signal, enabling the command to keep running after the user who issues the command has logged out. The HUP (hangup) signal is by convention the way a terminal warns depending processes of logout.