Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 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.
   1  <?php
   2  // This file is part of Moodle - https://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <https://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Automatically generated strings for Moodle installer
  19   *
  20   * Do not edit this file manually! It contains just a subset of strings
  21   * needed during the very first steps of installation. This file was
  22   * generated automatically by export-installer.php (which is part of AMOS
  23   * {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
  24   * list of strings defined in /install/stringnames.txt.
  25   *
  26   * @package   installer
  27   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  28   */
  29  
  30  defined('MOODLE_INTERNAL') || die();
  31  
  32  $string['memorylimithelp'] = '<p>The PHP memory limit for your server is currently set to {$a}.</p>
  33  
  34  <p>This may cause Moodle to have memory problems later on, especially
  35     if you have a lot of modules enabled and/or a lot of users.</p>
  36  
  37  <p>We recommend that you configure PHP with a higher limit if possible, like 40M.
  38     There are several ways of doing this that you can try:</p>
  39  <ol>
  40  <li>If you are able to, recompile PHP with <i>--enable-memory-limit</i>.
  41      This will allow Moodle to set the memory limit itself.</li>
  42  <li>If you have access to your php.ini file, you can change the <b>memory_limit</b>
  43      setting in there to something like 40M.  If you don\'t have access you might
  44      be able to ask your administrator to do this for you.</li>
  45  <li>On some PHP servers you can create a .htaccess file in the Moodle directory
  46      containing this line:
  47      <blockquote><div>php_value memory_limit 40M</div></blockquote>
  48      <p>However, on some servers this will prevent <b>all</b> PHP pages from working
  49      (you will see errors when you look at pages) so you\'ll have to remove the .htaccess file.</p></li>
  50  </ol>';
  51  $string['pathssubdataroot'] = '<p>A directory where Moodle will store all file content uploaded by users.</p>
  52  <p>This directory should be both readable and writeable by the web server user (usually \'www-data\', \'nobody\', or \'apache\').</p>
  53  <p>It must not be directly accessible over the web.</p>
  54  <p>If the directory does not currently exist, the installation process will attempt to create it.</p>';
  55  $string['pathssubdirroot'] = '<p>The full path to the directory containing the Moodle code.</p>';
  56  $string['pathssubwwwroot'] = '<p>The full address where Moodle will be accessed i.e. the address that users will enter into the address bar of their browser to access Moodle.</p>
  57  <p>It is not possible to access Moodle using multiple addresses. If your site is accessible via multiple addresses then choose the easiest one and set up a permanent redirect for each of the other addresses.</p>
  58  <p>If your site is accessible both from the Internet, and from an internal network (sometimes called an Intranet), then use the public address here.</p>
  59  <p>If the current address is not correct, please change the URL in your browser\'s address bar and restart the installation.</p>';
  60  $string['phpversionhelp'] = '<p>Moodle requires a PHP version of at least 5.6.5 or 7.1 (7.0.x has some engine limitations).</p>
  61  <p>You are currently running version {$a}.</p>
  62  <p>You must upgrade PHP or move to a host with a newer version of PHP.</p>';
  63  $string['welcomep10'] = '{$a->installername} ({$a->installerversion})';