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:
- change php.ini increase max_execution_time = 2592000
- add
set_ini('max_execution_time','2592000');
in script file in starting of file - add
set_time_limit(2592000);
in script file in starting of file - 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
Post a Comment