I have a StartServer.php file that basically starts the server if it is not already running. Everything works fine, except that StartServer.php will wait forever for the shell_exec () 'd server.php file to finish executing, which it never does.
Is there a way to execute a PHP file and just forget about it - and not wait for it to complete?
Edit: It should work on Windows and Linux.
Tower source
share