Well, if you were using C, I'd suggest using the daemon() call. In your case the best bet may just be to nohup it and put it in the background.
nohup script_with_php_call &
this would allow you to close the controlling terminal, but it would not give you any fault tolerance like a true service, ie. if the process dies it will be restarted.
|