Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Moodle version.

Moodle version: Difference between revisions

From MoodleDocs
(simplifying)
m (image positioning)
Line 1: Line 1:
{{Managing a Moodle site}}
{{Managing a Moodle site}}
==What version of Moodle am I using?==
==What version of Moodle am I using?==
 
[[Image:moodleversion.png|thumb|Moodle version with (build number) and copyright]]
The version of Moodle which your site is using can be found if you log in as an administrator and go to ''Site administration > Notifications''.
The version of Moodle which your site is using can be found if you log in as an administrator and go to ''Site administration > Notifications''.


Line 29: Line 28:
?>
?>
</pre>
</pre>
[[Image:moodleversion.png|thumb|Moodle version with (build number) and copyright]]


Note: You cannot view the contents of version.php in your browser - you must use a text editor.
Note: You cannot view the contents of version.php in your browser - you must use a text editor.

Revision as of 07:27, 23 March 2017

What version of Moodle am I using?

Moodle version with (build number) and copyright

The version of Moodle which your site is using can be found if you log in as an administrator and go to Site administration > Notifications.

Finding the version of Moodle if you are not an admin

For Moodle sites in English or German (only), if you are a regular teacher with no admin access, you might be able to find your Moodle version by clicking on "Moodle Docs for this page" at the bottom of any Moodle page when logged in. If your admin has allowed this link to display, you should be taken to the documentation for your version of Moodle. Look at the number in the URL e.g. 27 or 32 which mean you are using Moodle 2.7 or 3.2 respectively.

Version.php file

Your exact Moodle version may be obtained by viewing the file moodle/version.php in a text editor. Here is a typical version.php:

<?php

// MOODLE VERSION INFORMATION

// This file defines the current version of the core Moodle code being used.
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)

    $version = 2007101580.00; // YYYYMMDD      = date of the 1.9 branch (don't change)
                              //         X     = release number 1.9.[0,1,2,3,4,5...]
                              //          Y.YY = micro-increments between releases

    $release = '1.9.8+ (Build: 20100512)';     // Human-friendly version name

?>

Note: You cannot view the contents of version.php in your browser - you must use a text editor.

See also