Fatal Error: Maximum execution time

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\testProject\index.php on line 4

Line 4 is => $yii=dirname(FILE).’/../yii/framework/yii.php’;

Does anyone know what is causing this? Or what I have to do to fix it?

Though sometimes it is loading faster…

no issue with your line # 4 $yii=dirname(FILE).’/../Yii/framework/yii.php’;

its fine.

seem problem with xampp to load app.

would caching be a good idea?

CMemCache or CApcCache ?

How does the HelloWorld demo perform? (You will find it in the demos directory of the Yii release)


There it seems to load properly, had one call where it kept on loading though…

Edit: I tested the hangman game, and on some occasions the page just didn’t load and resulting in a fatal error.

When I clicked again it just worked…

I don’t use XAMPP at this time but the first thing to check would be available memory. As we all probably know, extensive disk swappping could lead to such delays.

Perhaps you already done that. If not, hit [Ctrl][Shift][Esc] for Task Manager.

Edit: if still no clue, you should give more details about your environment and setup.


can you try another local server instead of XAMPP.

it seems server problem.

I prefer WampServer 2.1

I will install the wampserver this evening to test

Just another guess: Maybe it’s a problem with locks? E.g. some process locked the file on file system and PHP was waiting for the lock to be released?

I’d be interested in whether you could fix the problem or not.