maximum execution time of 30 seconds exceeded in php

Ads
 

maximum execution time of 30 seconds exceeded in php

My PHP program is taking long time to run it is giving following error:

Maximum execution time of 30 seconds exceeded in php file

How to resolve this issue?

Thanks

View Answers

December 27, 2013 at 6:41 PM

Hi,

You two options a) Increase the execution time temporarily in the .php file using following code:

ini_set('max_execution_time', 600); //600 seconds = 10 minutes

b) Update the php.ini file to include the following lines:

max_execution_time = 360;

Thanks

Ads









Related Tutorials/Questions & Answers:
maximum execution time of 30 seconds exceeded in php
maximum execution time of 30 seconds exceeded in php  My PHP program is taking long time to run it is giving following error: Maximum execution time of 30 seconds exceeded in php file How to resolve this issue? Thanks
How to Increase Script Execution Time Limit in php ?
How to Increase Script Execution Time Limit in php ?   Increase Script Execution Time Limit in php configuration   Sometimes you need to execute a large php script. Because of PHP‚??s default execution time settings
Advertisements
javascript add seconds to time.
javascript add seconds to time.  <html> <head> <title>Add seconds to current times</title> <script type="text/javascript... = todayDate.getHours(); var minutes = todayDate.getMinutes(); var seconds
javascript add seconds to time.
javascript add seconds to time.  I want to add seconds to time. How can I do this?   <html> <head> <title>Add seconds... minutes = todayDate.getMinutes(); var seconds = todayDate.getSeconds
Convert Time to Seconds
Convert Time to Seconds       In this section, you will learn to convert Time to seconds. An hour has...: This example helps you in converting a Time to seconds. Here, first of all we have
Maximum length of Session ( $_SESSION ) in PHP.
Maximum length of Session ( $_SESSION ) in PHP.  sir, i want to know that how much limit of storing data into session in php. i mean can i store full product descriptions into session. Thank u
to know execution time
to know execution time  Hai this is sravanthi Is there any possibility to know the execution time of an SQL in its order to execute... to know the execution time for where,having and group by separately.If
How to raise an event on a flash mp3 player after 30 seconds from starting song..?
How to raise an event on a flash mp3 player after 30 seconds from starting song..?  Can you help me for writing a couple of codes in action script... a php function (function for update listen count in mysql database) when user
Time schedular for multiple batch file execution in java
Time schedular for multiple batch file execution in java  Hello All, i have a task in which i have to design a time schedular in java in which i can...:00 for batch1.bat execution. 09:30 to 10:30 for batch2.bat execution. therfore
ModuleNotFoundError: No module named 'Execution-Time'
ModuleNotFoundError: No module named 'Execution-Time'  Hi, My... named 'Execution-Time' How to remove the ModuleNotFoundError: No module named 'Execution-Time' error? Thanks   Hi, In your python
Java Execution Time Measurement(JETM)
Java Execution Time Measurement(JETM)  How can we integrate JETM in eclipse
Java Execution Time Measurement(JETM)
Java Execution Time Measurement(JETM)  Whether JETM can be implemented in Struts framework especially in Struts2. If not,tell the alternative solution
to know sql qyery execution time
to know sql qyery execution time  Hai this is sravanthi Is there any possibility to know the execution time of an SQL in its order to execute... possibility to know the execution time for where,having and group by separately.If
to know sql qyery execution time
to know sql qyery execution time  Hai this is sravanthi Is there any possibility to know the execution time of an SQL in its order to execute... possibility to know the execution time for where,having and group by separately.If
How to convert date to time in PHP?
How to convert date to time in PHP?  Hi, programmer. The PHP... and time. The PHP "time()" function is used to get the current Unix timestamp..., but as a readable date and time, it leaves much to be desired. Luckily, the PHP
problem at the time of execution - JSP-Servlet
problem at the time of execution  when i was running web applications the exception i.e 404 resource is not available what it means and where it occures what is the solution   Hi Friend, This error occurs when
How to execute my query fast..When A date filter is there in a query it takes more time for execution.?
How to execute my query fast..When A date filter is there in a query it takes more time for execution.?  When A date filter is there in a query... in 30 seconds with 5000 records... what is the problem ... how to execute my query
Java example to calculate the execution time
Java example to calculate the execution time       get execution time This example program will describe you the way that how one can calculate or get the execution time
PHP Display date and time
PHP displaying the time and date into your timezone  ...() function in PHP, it doesn't display the correct time and date for their region... the formatted date string Example 1: <?php ECHO "<b>Date using
Display PHP clock with user input date and time
Display PHP clock with user input date and time  The following PHP code displays a clock with current date and time. I want the clock to receive user input date and time. How can this be done? <?php date<em>
Convert Time to Milliseconds
and seconds to milliseconds as shown below. We also want that the Time would... Convert Time to Milliseconds       In this section, you will learn to convert Time
C Current Time
example, the time() function determines the current time in seconds and assigns it to time_t type variable t. The ctime() function converts the number of seconds... C Current Time      
Java add seconds to Date
used in date time manipulation. Here, we are going to add few seconds...("Time after 56 seconds: " + sdf.format(addSeconds)); } } Output: Current...Java add seconds to Date In this tutorial, you will learn how to add seconds
php
php   what is php   PHP Tutorials
php
php  what is php
php
php using javasript  how to set timer in php using javasript
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
Unhandled event loop exception GC overhead limit exceeded
with following error: Unhandled event loop exception GC overhead limit exceeded How... tool used by Java and C++ developers. It also provide support for PHP
php
php  show the constructor overloading in php
PHP
PHP  How to work in drupal with PHP

Ads