by Ken Task.
The advantage of using the scripts from the command line as opposed to browser is that one may not need to change php.ini NOR have to contend with any browser issues.
Next time, don't do *any part* via browser - including enable/disable maintenance mode and *especially* the upgrade script. That is the one that will push server limitations. And do run purge all caches.
But ... from what you've posted you've been successful in upgrading so congrats!
'spirit of sharing', Ken