I have XAMPP on Windows7. after update the pear.php.net channel with:
pear channel-update pear.php.net
and try for installing new packages,
For me on Windows 10 in %PHP_PEAR_BIN_DIR%\pecl.bat, the line starting "%PHP_PEAR_PHP_BIN%" -C -n -d; removing the "-n" worked for me.
%PHP_PEAR_BIN_DIR%\pecl.bat
"%PHP_PEAR_PHP_BIN%" -C -n -d