Okay I got it whew, unfortunately I had to be the one to face this issue, it would have been cool if it were more common so the tutorial on installing composer covered it. Incase someone else comes across this the error explanation does fix it follow it!
I ran this
//Dont forget to run nano and where it the tutorial for composer we go here nano /etc/php5/fpm/php.ini
//to fix the error we must go nano /etc/php5/cli/php.ini note the cli in the path.
at the end of this file, but before ; END;
add the following below
suhosin.executor.include.whitelist = phar
Notes: I am using puTTY and when editing files ^ means ctrl, so scrolling down to the bottom is faster using ctrl + V. Saving is ctrl + X then hit y for yes, then enter.