Fatal error: Maximum execution time of n seconds exceeded

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
s4lin
Forum Newbie
Posts: 1
Joined: Wed Dec 03, 2008 1:01 am

Fatal error: Maximum execution time of n seconds exceeded

Post by s4lin »

Dear,
I could appreciate if anybody could be shorted out my problem.

I'm facing execution time out issue,
Fatal error: Maximum execution time of n seconds exceeded. we have not changed time limit so far.
1. We could able to execute the same code before someday (earlier)
2. This is issue happening after reset time_out and later we have reverted.
3. We have reverted code for resetting time_out but still we are getting the error.
4. We are able to proceed in different machine.

Please let me know, why its happening in particular machine.

Is there anything to be done to fix this?

Thanks in Advanced.
stalin
s4lin4u@yahoo.com
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: Fatal error: Maximum execution time of n seconds exceeded

Post by novice4eva »

try increasing the max_execution_time to some greater value in php.ini
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Fatal error: Maximum execution time of n seconds exceeded

Post by josh »

What is making it take so long to run? If its a batch script run it on the CLI as a forked background process, if its a web script fix what's making it take so long, no user wants to wait 30 seconds to see that the system has registered his request.
SteveC
Forum Commoner
Posts: 44
Joined: Thu Dec 04, 2008 2:39 pm
Location: Lansing, MI

Re: Fatal error: Maximum execution time of n seconds exceeded

Post by SteveC »

Are you using session_start anywhere?
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: Fatal error: Maximum execution time of n seconds exceeded

Post by novice4eva »

SteveC wrote:Are you using session_start anywhere?
:?: :?:
SteveC
Forum Commoner
Posts: 44
Joined: Thu Dec 04, 2008 2:39 pm
Location: Lansing, MI

Re: Fatal error: Maximum execution time of n seconds exceeded

Post by SteveC »

novice4eva wrote:
SteveC wrote:Are you using session_start anywhere?
:?: :?:
Sessions in UNIX can sometimes have problems, so I was just wondering if he was using them.
Post Reply