Error with manual install: Failed opening required '__DIR__/lib/discourse.php'

Are you not running at least PHP 5.3?