grep php in before_install