I assume it’s a php/server configuration issue. Not a code issue?
I have 2 linux servers (from the same hosting company) ones newer than the other. But I can’t for the life of me work out what makes the kill work on one, but not the other?
With my way, would that mean, if I was running a bunch of ping scripts concurrently, a sleep & kill would effect all other ping scripts working at the same time?
I really doubt it would kill them all. There’s probably a separate instance of the ping program spawned each time you issue that command, and each would have its own process id, so the kill should target the correct one because your shell should know the correct process id.