There are a few ways to override global PHP (
php.ini) settings with local settings. For example you can use a
.htaccess file or local
php.ini file depending on what options exist for your site hosting.
Another way to do it, is to override the settings in
config.php. This has the benefit of being part of the standard moodle code configuration setup. All you need to do is use the
ini_set() function. For example, to increase the
max_execution_time from 30s to 60s you can do this in
The best place for a change like this is towards the end of the
config.php, and perhaps wrapped in comments indicating custom configuration.