.vagrant folder ignored because vagrantfile is at root directory and creating this folder.
php-build.sh removed sudo from pear commands, because export is configure for local user, this way the script was not able to find pear command.