use env to find php
Merge pull request #2 from temp/master

use env to find php