I'm running a Drupal website and whenever I try to do a Search I get this error message:
Fatal error: Maximum execution time of 30 seconds exceeded in (path to script)
Then if I just hit the refresh / reload button or the Go button in the location bar it seems to finish the search fine and show the results. Is there some way to increase the Maximum execution time?
Olympus
Single & Not Looking
Is there some way to increase the Maximum execution time?
If you're on shared Hosting and/or don't have access to changing the php.ini, there's an .htaccess statement that you can use in your Drupal's settings.php file to increase the Maximum Execution Time, setting it from the default 30 seconds to 60 seconds should be plenty, but if that's not enough you can go to 120 or whatever you choose, although I wouldn't get too out of control with the high numbers.
example: