Better PHP process detection