Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
/lib/classes/check/environment/
FolderUp one level  
Fileconfigrw.php         [source] [70 lines]    Verifies config.php is not writable anymore after installation
Filedisplayerrors.php    [source] [75 lines]    Verifies displaying of errors Problem for lib files and 3rd party code because we can not disable debugging in these scripts (they do not include config.php)
Fileenvironment.php      [source] [83 lines]    Environment check
Filenodemodules.php      [source] [69 lines]    Check the presence of the node_modules directory.
Filepreventexecpath.php  [source] [69 lines]    Verifies the status of preventexecpath
Fileunsecuredataroot.php [source] [80 lines]    Verifies fatal misconfiguration of dataroot
Fileupgradecheck.php     [source] [85 lines]    Upgrade check
Filevendordir.php        [source] [69 lines]    Check the presence of the vendor directory.