```sh
#!/usr/bin/env php
```
Use `env` to find where PHP is installed: it might be elsewhere in the $PATH, such as `/usr/local/bin`.