There was an error in go-pear.phar in PHP 5.2 snaps. Greg Beaver fixed it immediately, but the fix was NOT incorporated into the 5.2 releases for windows – however the file for the source releases is correct. If you are getting errors that look like this
Warning: Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/Command.php on line 268
when installing PEAR please grab the latest version of the go-pear.phar file from cvs . Another option is to use the script from Go-Pear . Save it to your system and run it using the instructions in the comments header and you’ll always have the latest versions of the PEAR package installer.