Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is 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['clialreadyconfigured'] = 'File config.php already exists, please use admin/cli/install_database.php if ye want to install this site.';
  33  $string['clialreadyinstalled'] = 'File config.php already exists, please use admin/cli/upgrade.php if ye want to upgrade this site.';
  34  $string['environmenthead'] = 'Checking yer environment ...';
  35  $string['environmentsub2'] = 'Each Moodle release has some minimum PHP version requirement and a number of mandatory PHP extensions.
  36  Full environment check is done before each install and upgrade. Please contact server administrator if ye do not know how to install new version or enable PHP extensions.';
  37  $string['memorylimithelp'] = '<p>The PHP memory limit for yer server is currently set to {$a}.</p>
  38  
  39  <p>This may cause Moodle to have memory problems later on, especially
  40     if ye have a lot of modules enabled and/or a lot of users.</p>
  41  
  42  <p>We recommend that ye configure PHP with a higher limit if possible, like 40M.
  43     There are several ways of doing this that ye can try:</p>
  44  <ol>
  45  <li>If ye are able to, recompile PHP with <i>--enable-memory-limit</i>.
  46      This will allow Moodle to set the memory limit itself.</li>
  47  <li>If ye have access to yer php.ini file, ye can change the <b>memory_limit</b>
  48      setting in there to something like 40M.  If ye don\'t have access ye might
  49      be able to ask yer administrator to do this for you.</li>
  50  <li>On some PHP servers ye can create a .htaccess file in the Moodle directory
  51      containing this line:
  52      <blockquote><div>php_value memory_limit 40M</div></blockquote>
  53      <p>However, on some servers this will prevent <b>all</b> PHP pages from working
  54      (you will see errors when ye look at pages) so you\'ll have to remove the .htaccess file.</p></li>
  55  </ol>';
  56  $string['pathssubadmindir'] = 'A very few webhosts use /admin as a special URL for ye to access a
  57  control panel or something.  Unfortunately this conflicts with the standard location for the Moodle admin pages.  Ye can fix this by
  58  renaming the admin directory in yer installation, and putting that  new name here.  For example: <em>moodleadmin</em>. This will fix admin links in Moodle.';
  59  $string['pathssubdataroot'] = 'Ye need a place where Moodle can save uploaded files. This directory should be readable AND WRITEABLE by the web server user
  60  (usually \'nobody\' or \'apache\'), but it must not be accessible directly via the web. The installer will try to create it if doesn\'t exist.';
  61  $string['pathssubwwwroot'] = 'Full web address where Moodle will be accessed.
  62  It\'s not possible to access Moodle using multiple addresses.
  63  If yer site has multiple public addresses ye must set up permanent redirects on all of them except this one.
  64  If yer site is accessible both from Intranet and Internet use the public address here and set up DNS so that the Intranet users may use the public address too.
  65  If the address is not correct please change the URL in yer browser to restart installation with a different value.';
  66  $string['phpversionhelp'] = '<p>Moodle requires a PHP version of at least 4.3.0 or 5.1.0 (5.0.x has a number of known problems).</p>
  67  <p>Ye are currently running version {$a}</p>
  68  <p>Ye must upgrade PHP or move to a host with a newer version of PHP!<br />
  69  (In case of 5.0.x ye could also downgrade to 4.4.x version)</p>';
  70  $string['welcomep20'] = 'Ye are seeing this page because ye have successfully installed and
  71      launched the <strong>{$a->packname} {$a->packversion}</strong> package in yer computer. Congratulations!';
  72  $string['welcomep60'] = 'The following pages will lead ye through some easy to follow steps to
  73      configure and set up <strong>Moodle</strong> on yer computer. Ye may accept the default
  74      settings or, optionally, amend them to suit yer own needs.';