tests: do not assume PHP CLI is always installed