You need to run the php script in the background through the finished shell.
The scheme is as follows: form-> data transfer-> worker
All this is necessary because after 60 seconds the script will die at the browser, but inside it will not be. Script parsit a bunch of data and at the same time processes, generates. PS - crown does not fit