Use a more universal shebang

On FreeBSD, php is usually in /usr/local and I'm sure there are many more exceptions.
Merge pull request #12304 from oparoz/patch-1

Use a more universal shebang