I have a script that inserts various information into the database and saves some files to the server via URL, but PHP terminates the process before finalizing with error 503.
I have tried (I believe) all the ways to postpone this by .ini and by commands on the page itself.
Does anyone else have any idea what to do?
Follow the code applied on the page to understand execution:
set_time_limit(0);
ini_set('max_execution_time', 600);
The same changes were made to the php.ini of the server.