Detaching a PHP script from the shell on Ubuntu

I've learnt that detaching a PHP script from the shell and allowing it run as a daemon on Ubuntu is not as simple as I first thought.  I couldn't simply add an ampersand like this:

$ php ./script &

Read more...