Hi magoogle,
Did other software and php files normally? It could be /tmp folder run out of space, it could be that the session folder is not writable (sometimes it happened). As I could understand of your post, the file config.php is getting wrote, but with the incorrect information, is that true?