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

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









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
maximum open cursors exceeded - JMS
maximum open cursors exceeded  Hi, i m getting error java.sql.SQLException: ORA-01000: maximum open cursors exceeded in java.could u tell me why???? Thanks Narendra
How can we increase the execution time of a php script?
How can we increase the execution time of a php script?  How can we increase the execution time of a php script
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
PHP Date and Time Date and time Tutorial
Date and time Learn how to use PHP Date and Time functions To get formatted...;  print(date("Current time is: H (hours), i (minutes), s (seconds... (minutes), 13 (seconds) mktime - get timestamp for date and time value
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
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
select maximum time entry row - JDBC
select maximum time entry row  Hi fried you given ans this Sql Query for select maximum value max() function use. "select max(fieldname... is maximum time entry in column Status please if you have any other query
different execution time - Java Beginners
different execution time    hello, when i run the bellow code more than one time i am getting different execution time("Total time taken"), Ex... this execution time may varies. Thanks RoseIndia Team
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
execution time calculation - JSP-Servlet
execution time calculation  I want to know how to find out execution time of an algorithm in java thread program.Pls send me an example of a thread program in which i can calculate the execution time of my program.  Hi
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
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
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
php parse string to time
php parse string to time  I am looking for a solution to parse a string into a formatted date time string
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
PHP Date and Time Functions
of the examples of PHP Date and Time Functions.ADS_TO_REPLACE_1 Printing amount of seconds passed since January 1 1970 00:00:00 GMT: <?php print time(); ?> Printing... The PHP Date and Time Functions functions allows the developer to read
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
PHP Date and Time
 The PHP Date and Time functions are very useful in manipulating the Date in your PHP program. The PHP Date and Time generates the current date and time... also use the following code to print the long string of the time: Current
time ()
PHP time() Function The time() returns the current time  measured...;). Syntax of time() Function in PHP time(void) Parameter of time() Function in PHP void - void is optional parameter.  Example of time
What is the maximum size of a file that can be uploaded using PHP and how can we change this?
What is the maximum size of a file that can be uploaded using PHP and how can we change this?  What is the maximum size of a file that can be uploaded using PHP and how can we change
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 Make Time
PHP  Make Time In PHP, mktime() funtion is used for doing date arithmetic... of the seconds month The number... This parameter is set to either of these values: 1 if the time is during
PHP Date and Time
PHP Date and Time The PHP Date and Time function is massively used... the functions of the software. ADS_TO_REPLACE_1 The PHP date and Time functions allow you to access the date and time from the server where your PHP scripts
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... Returns the formatted date string Example 1: <?php ECHO "<
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>
can i estimate estimate execution time for a method without knowing implementation details of a method - Java Interview Questions
can i estimate estimate execution time for a method without knowing implementation details of a method  hi all, can i estimate estimate execution time for a method without knowing implementation details of a method. Thanks
What is the default session time in php and how can I change it?
What is the default session time in php and how can I change it?  What is the default session time in php and how can I change
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
Java add seconds to Date
used in date time manipulation. Here, we are going to add few seconds...(); System.out.println("Time after 56 seconds: " + sdf.format(addSeconds...Java add seconds to Date In this tutorial, you will learn how to add seconds
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      
PHP accelerator
a PHP application runs. It depends upon factors such as time taken for execution...PHP accelerator  hii, What is a PHP accelerator?   hello,,ADS_TO_REPLACE_1 PHP accelerator increases the speed of applications written
PHP Get Average - PHP
in PHP. In my code, we are providing maximum four options to the user to rate. Only one answer can be selected at a time...PHP Get Average  I am writing a method to calculate the average
PHP Generate a pages loading time Tutorial
PHP Page Loading Time      ...: <?php $m_time = explode(" ",microtime());ADS_TO_REPLACE_2... seconds You can round the time taken by using round() function Page loading took
The PHP Date() Function
The PHP Date() Function The PHP date() function is used for formatting the date and time. It formats a timestamp (a sequence of characters representing the date and/or time at which a certain event occurred) to make more readable
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 Introduction
for developing dynamic web pages and data execution from the databases. PHP web pages can be developed by embedding PHP codes into HTML codes using the syntax of C, Java...1.1. What is PHP? So, what is this whole PHP business all about? PHP
PHP date function
PHP Date() Function PHP Date() function is used to display the date and time in a précised format.  With the help of PHP date function you can format timestamp to a more readable date and time. The following example shows you how
Table maximum Row count - JDBC
5 7 5 3 4 5 2 5 1 my output will be 5 means 5 is maximum time... maximum time entry value? Thanks in advance Rajkumar  Hi friend...Table maximum Row count  Dear friends I want to select maximum
php
php   what is php   PHP Tutorials
PHP Page generation time
PHP Page generation time In this tutorial I'll show you how to capture execution time in PHP. I bet you already have seen somewhere in the net something... and sec - current time in seconds in timestamp format from the UNIX Epoch (0:00:00
php
php  what is php
The PHP fileatime() function , fileatime php, fileatime in php
Example of fileatime() function in PHP DescriptionADS_TO_REPLACE_1 Syntax for fileatime() Function PHP int fileatime ( file_name ) It returns Last Access time in int form of a fileADS_TO_REPLACE_2 so converts in date form

Ads