How to avoid fatal error?

Hi,

I want to execute a Perl script in my PHP page. actually that script is fetching some information from the server. so it might require more than 30 seconds some times.But before fetching the information the page is showing the fatal error.

"Fatal error: Maximum execution time of 30 seconds exceeded in

C:\wamp\www\yii-1[1].1.6.r2877\protected\views\user\Identity.php on line 41"

call to that Perl script is in lie no 41.

I don’t know what to do for increasing the timeout.

Is there any solution to this. Please anyone help me… please…

This is not really a bug :)

I just googled "PHP script timeout" and got this nice link

http://php.net/manual/en/function.set-time-limit.php

Thank u… can u please tell me where to include this?

you can call this function before calling the perl script, or you can set a bigger value in php.ini

I got it. Thank u so much.