Add function to ensure using homebrew php