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 we increase execution time of a php script?
Define object-oriented methodology?
Can the value of a constant change during the script's execution?
How send email using php?
What is the Default syntax used in PHP?
What is the difference between for and foreach loop in php?
What is implode() in php?
What is a PHP accelerator?
What is the use of die in php?
Is it possible to extend the execution time of a php script?
What is the empty function?
What is the basic function to search files for lines (or other units of text) that contain a pattern.
Explain how we can retrieve the data in the result set of mysql using php?
How do you define a constant in php?
What is the $_ server php_self variable?