Or run this in your terminal to download it and check your configuration:
curl -s http://getcomposer.org/installer | php