How can we increase the execution time of a PHP script?
Answer Posted / anonymous
Using the funtion set_time_limit().It sets the number of
seconds a script is allowed to run .If this is reached
script returns a fatal error.The default limit is 30
seconds .If seconds is set to zero
no time limit is imposed.When called , set_time_limit()
restarts the timeout counter from zero.If the timeout is
the default 30 seconds,and 25 seconds into script execution
a call such as set_time_limit(20)
is made,the script will run for a total of 45 seconds
before timing out.
| Is This Answer Correct ? | 27 Yes | 13 No |
Post New Answer View All Answers
How can you send email in php?
Tell me is it possible to protect special characters in a query string?
Which php mvc framework is best?
Difference between $message vs. $$Message in php.
What does $_server means?
Why does php start with variables?
What is php mean?
What is the use of @ in php?
Which software is best for php?
What is rtrim php?
How can we display the output directly to the browser?
Swap two variables value without using third variable in php ?
What are session variables in php?
Which function Returns the time of sunrise for a given day / location in PHP.
What was the old name of php?