apache - How to properly increase PHP script execution time


I have a problem with execution time of php script as said above.

Script turning on from web browser. It's heavy, so it's execution time can take up to 5 minutes or even more.

What i've done already:

  1. set_time_limit(0); - doesnt help
  2. changed max_execution_time in php.ini - no effect
  3. changed Timeout in apache - no effect
  4. ignore_user_abort(true) - doesn't help

All variables were set to 1 hour, and still i getting disconect in 2 minutes. Browser said something like "Data is not obtained". I know that i'm missing something, but don't know what.

Thanks in any advance.

People are also looking for solutions to the problem: php - Device specific content to be displayed


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.