Hi Paul,
What does that php script do ?. The daemon node should call it at start/deploy and then send anything it outputs as stdout to the top output, etc. Likewise any payload sent to the node goes to the stdin of the process.
What happens if you try to run that command from the command prompt (as the same user you are using to run niode-red) ? Or maybe need to path to php fully.