Hi. Is it possible to set maximum execution time of exec($command) function? Sometimes execution of my $command lasts too long and after 1min it stop execution and i receive this error:
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\files.php on line 51
how to increase the exec command maximum execution time?
if (allow()) {
exec($command);
if (file_exists($file)) {
//exec($makeflv);
echo '<script language="javascript" type="text/javascript">window.top.window.aviout(1);</script>';
} else {
echo $error;
}
} else {
echo $error;
}