Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By menre on
Hello Folks,
I have just installed some required modules, but when I try to enable and save configuration I get the error message below.
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\2012\drupal\includes\database.mysqli.inc on line 114
I have tried to look for that line but what I found did not really show what to correct.
Could someone advise me on how to fix this error message, please?
I will really be grateful for your help.
Menre
Comments
I'm not a pro for this, but I
I'm not a pro for this, but I think the execution of what you try to do takes more than 30 seconds, and because your PHP does not allow execution of more than 30 seconds, it is terminated by PHP.
One solution is to increase "max_execution_time" in "\xampp\php\php.ini"
Search Drupal.org for more info.
P.S. Your question is not related to this forum topic.
You need to increase the
You need to increase the "php_value max_execution_time" value in php.ini (part of your xampp setup)
If it is still timing out then I would suggest allocating more memory to php via the "memory_limit" value (also in php.ini)
php.ini can be found in your xampp install folder - \xampp\php\php.ini
Thank you everyone for your
Thank you everyone for your advise and suggestions. It is now working fine. I went to the php.ini file in XAMPP and changed the "max_execution_time" from "30" to "60" and I also changed "memory_limit" value from "128" to "256". I can now save configurations in Drupal.
I really appreciate your help.
Please consider this post:
Please consider this post: https://www.drupal.org/node/2349225#comment-9461911