I am running scripts that last longer than the limit allowed by the server and the server does not terminate them.
The phpinfo() showed me that the max_execution_time is set to 30.
Using the ini_get('max_execution_time') feature the value 30 is displayed, but I put the code with sleep(45) and it runs until the end.
I also tried decreasing the time with ini_set('max_execution_time', 15), but still the code runs normally with sleep(45).
I've used sleep for testing purposes, but this is with functions that use cURL or even foreach and while that are used to create files for users.
What could be changing the server's maximum execution time?