Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
/lib/classes/check/environment/
FolderUp one level  
Fileantivirus.php        [source] [123 lines]   
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
Filepreventexecpath.php  [source] [69 lines]    Verifies the status of preventexecpath
Filepublicpaths.php      [source] [307 lines]   Check the presence of public paths via curl.
Fileunsecuredataroot.php [source] [80 lines]    Verifies fatal misconfiguration of dataroot
Fileupgradecheck.php     [source] [85 lines]    Upgrade check