cannot connect to database


I have just installed Netbeans and upgraded php to version 5.3.3 (5.2.6 before) and I found two problems. First one is easy to fix - it’s about using date function (I added date_default_time_zone() in index.php)

And the second problem - I can’t connect to database. Subpages that don’t use db work fine, but for example login page or register returns:

Fatal error: Maximum execution time of 30 seconds exceeded in D:\Internet\www\Apache\htdocs\yii\framework\base\CApplication.php on line 610 (and here the call stack)

Could anyone help?

Sorry, problem not Yii - related (but still have no idea what’s wrong)

maybe you can post the stack ?

or part of the code that you think cause the problem…

Thank you for response, but I’m sure this is matter of php configuration. I work on Win7 and lost couple of hours to get back to php 5.2.6. For sure something wrong is with mysql pdo config, which for some reason is not accessible. I have never had this problem until now…

But this is not a critical thing to me (but would be nice to debug code in Netbeans) so I’d better focus on developing my website with the greatest framework on Earth :)