Make sure config.php hasn't been broken, perhaps by saving it in UTF-8 with a BOM header, which PHP doesn't like.

Also make sure you haven't accidentally added any extra blank lines before the opening PHP tag at the beginning of the file, or after the closing tag at the end of the file.

Always access Admin -> System -> Installation Check after installing or if you encounter any issues.