When i upgrading magento site from older version to latest version i got some error in shell.
I followed this link to upgrade magento:
http://turnkeye.com/blog/magento-upgrade-guide/
first entered :
chmod -R 777 lib/PEAR
then i entered the commmand:
./pear mage-setup
then i got this errors:

what is this error?
How can i solve this?
EDIT:

after completing the upgrading and took the site url in browser got this error:

The problem is that under the path
/hsphere/shared/php5/bin/phpthere’s nothing to be found on your server.The problem is within you pear installer script. Open it (e.g. with
nano pear) and change theMAGE_PEAR_PHP_BIN="/hsphere/shared/php5/bin/php"toMAGE_PEAR_PHP_BIN="/usr/bin/php".After that, installation should be possible.
lg,
flo
(Notice: Answer as provided in chat)