Error during instllation of moodle 3.11.4

Error during instllation of moodle 3.11.4

by Aleksandar Stojicic -
Number of replies: 1

Hi I am trying to install Moodle 3.11.4 version locally with xamp/apache/maria db. 

During system installation i turned on debugging messages, I am receiving following error:

Fatal error: Maximum execution time of 600 seconds exceeded in C:\xampp\htdocs\moodle\lib\classes\component.php on line 857 

I set in config.inc.php 

$cfg['ExecTimeLimit'] = 6000;

and also in php.ini

max_execution_time=5000

But these changes do not have any effect for system installation.

Can you please help?



Average of ratings: -
In reply to Aleksandar Stojicic

Re: Error during instllation of moodle 3.11.4

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

The normal way to change this is by setting max_execution_time in php.ini as you've done. You'll need to restart Apache afterwards to pick up the changed configuration. These steps show how to display PHP info outside of Moodle so you can see the current max_execution_time. The PHP info page also tells you which .ini files are being read just in case you're editing the wrong php.ini.

config.inc.php isn't a Moodle file so I don't think changing this will have any effect.