Short and sweet: Looking for a way to call PHP file and display the progress using jQuery and/or Ajax. PHP file upgrade.php?step=1 is called and then the o
There's another approach to this problem.
I wrote a comprehensive example as an answer to this question:
Processing large amounts of data in PHP without a browser timeout
PS: My example can be extended to also pass a message on each progress - in fact, it's quite flexible; you can make it up date only parts of the UI you want according to whatever is happening on the server, sparing the client from unnecessary processing.