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
What is difference between mysqli and mysql?
What are the rules in creating php variable?
Is multiple inheritance supported in php?
Tell me what is the use of the function htmlentities?
Explain what is memcache?
Can a super () and this () keywords be in same constructor?
How to submit form without a submit button.
What is associative array in php?
Explain me what is the difference between explode() and split() functions?
How can you declare a constant variable in php?
What is isset in php form?
How long does a session last in php?
What is the difference between session_unregister() and session_unset()?
What is the default session time in php?
What is the difference between get and post method in php?