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 are computer variables?
What are getters and setters php?
What is the maximum size of a database in mysql?
What is isset function in php?
Is it possible to destroy a cookie?
Is php used in 2019?
Which MySQL function would you use to select a database?
What is php rest api?
What is abstraction php?
How check field is empty or not in php?
What is action hooks and filter hooks?
How do you execute a php script from the command line?
How do you debug php?
What is the use of mysql_fetch_array in php?
What is better .net or php?