How to increase max_execution_time in PHP -


i want increase max_execution time site. have tried methods out success , need help.

what tried:

  • i set site in sub-folder have create php.ini folder , along set max_execution_time=259200
  • in code file set set_ini('max_execution_time','259200')
  • i set root php.ini max_execution_time

how can set max_execution_time cpanel server?

what done:

  1. change php.ini increase max_execution_time = 2592000
  2. add set_ini('max_execution_time','2592000'); in script file in starting of file
  3. add set_time_limit(2592000); in script file in starting of file
  4. concern host provider due shared server support doesn't work

you can set limit set_time_limit() http://www.php.net//manual/en/function.set-time-limit.php

but can change if admin of hosting server has allowed so.

you can shoot them email , ask want or if don't allow it, change code executable chunks each run couple sec(or less) , loop calls of them.

depending on application done number of ways , might different question altogether.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -