Hi friends ,
today my discussion is about extend maximum execution time of php script/page .
OR solution for Fatal Error:Maximum execution time limit reached when you run a php page .
OR change the maximum execution time of php script.OR increase the maximum execution time of
php script .
We can change the maximum execution time by call a function set_time_limit().
Syntax
void set_time_limit ( int $seconds );
//set_time_limit(300);
The parameter send to this specifies the maximum execution time in seconds.In the above code the maximum execution time is set to 300 seconds , that is 5 minutes.
This can also achieve by using the function ini_set() , like this ,
Here also 300 is the maximum execution time in seconds.
Hope that this post is helpful to you.
Thanks by Sukesh B R
You can also read :-
today my discussion is about extend maximum execution time of php script/page .
OR solution for Fatal Error:Maximum execution time limit reached when you run a php page .
OR change the maximum execution time of php script.OR increase the maximum execution time of
php script .
We can change the maximum execution time by call a function set_time_limit().
Syntax
void set_time_limit ( int $seconds );
//set_time_limit(300);
The parameter send to this specifies the maximum execution time in seconds.In the above code the maximum execution time is set to 300 seconds , that is 5 minutes.
This can also achieve by using the function ini_set() , like this ,
ini_set('max_execution_time', 300);
Here also 300 is the maximum execution time in seconds.
Hope that this post is helpful to you.
Thanks by Sukesh B R
You can also read :-
No comments:
Post a Comment