Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The phar extension is missing.
Install it or recompile php without --disable-phar
yum install php-jsonlint
php -r "readfile('https://getcomposer.org/installer');" | php