I'm working on a web project that executes CLI commands to perform running tasks to spare users from having to wait since PHP/Apache combo cannot (to my understanding) create a separate process for said long-running processes.
Is the this the best approach for running long for running long processes that do not force web users to wait?
Is there any time-bombs one needs to look out for when taking this approach (running many CLI processes from PHP/Apache?