Question
How can we increase the execution time of a php script?

Answers

By the use of void set_time_limit(int seconds) Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. If seconds is set to zero, no time limit is imposed.
When called, set_time_limit() restarts the timeout counter from zero. In other words, 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.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Which of the following right heart catheterization findings would be consistent with papillary muscle rupture during an inferior myocardial…
  • Q Mention the main function of fertilization membrane.
  • Q What is difference between Clone and Copy Methods of Dataset?
  • Q Is Khums due on what a person sets aside every year as dowry for his daughter?
  • Q Can you delete an Assignment Block of a campaign? What are the customization steps?
  • Q What is your income goal for this year? What did you earn last year? Goal for next year?
  • Q Consider a report with F1S attribute, what will be the output for the following code.
  • Q What are nested tables?
  • Q From the functionalist perspective, deviance can be seen as (a) affirming norms, (b) promoting group unity and (c) ______________.
  • Q Masses of stars and galaxies are usually expressed in terms of which mass?
  • Q The Dutch Royal family are Orange where is Orange