Ubuntu - xampp php-pear problems

Have install xampp and everthings run/is activated - status
but try to run "sudo ./pear mage-setup ." i got following error
exec: 94: php: not found
Can anybody help?
but try to run "sudo ./pear mage-setup ." i got following error
exec: 94: php: not found
Can anybody help?