PHP Start Background Scripts in either Linux or Windows without waiting for completion
Posted on 2013-01-25
How do I start a PHP script to run in the background so my foreground process in a web browser doesn't freeze waiting for it to end.
User uploads a file
After saving the file, I kick off a background PHP script to process it
When the background script ends, it sends the user an email to notify them.
I've seen similar questions, but no answers or sample code to make these calls.