After many attempts to get go-pear.phar to work I found out that the file was corrupt.
I solved the problem by this command to create a brand new file to install.
php -r "copy('http://pear.php.net/go-pear.phar', 'go-pear.phar');"
This worked and installed directly into the ampps directory.