Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63421

Add environment check for versions not supporting PHP 7.3

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_31_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Hide

      Note: Testing this issue requires, for some points, a running version of PHP 7.3 (at the time of writing, current version is PHP 7.3RC2).

      Note2: Alternatively, if finding a working version is hard... the lib/environmentlib.php file can be edited replacing the two existing calls to phpversion() by, simply: '7.3.0' (quotes included).

      Using PHP 7.0.x - All upgrade work

      1. Install a Moodle 3.1.x site (MOODLE_31_STABLE)
      2. Upgrade to 3.3.x (MOODLE_33_STABLE)
      3. Upgrade to 3.4.x (MOODLE_34_STABLE)
      4. Upgrade to 3.5.x (MOODLE_35_STABLE)
      5. Upgrade to 3.6dev (master).
      6. Verify that all the upgrades above work without problem.

      Using PHP 7.0.x - Upgrade to 34 & 35 with PHP 7.3 don't work

      1. Install a Moodle 3.1.x site (MOODLE_31_STABLE)
      2. Switch to PHP 7.3
      3. Try to upgrade to 3.3.x (MOODLE_33_STABLE)
      4. Verify that upgrade doesn't work and you get the "PHP version 7.3 is not supported" message.
      5. Try to upgrade to 3.4.x (MOODLE_34_STABLE)
      6. Verify that upgrade doesn't work and you get the "PHP version 7.3 is not supported" message.
      7. Try to upgrade to 3.5.x (MOODLE_35_STABLE)
      8. Verify that upgrade doesn't work and you get the "PHP version 7.3 is not supported" message.
      9. Try to upgrade to 3.6dev (master).
      10. Verify that the upgrade works without problem.
      Show
      Note: Testing this issue requires, for some points, a running version of PHP 7.3 (at the time of writing, current version is PHP 7.3RC2). Note2: Alternatively, if finding a working version is hard... the lib/environmentlib.php file can be edited replacing the two existing calls to phpversion() by, simply: '7.3.0' (quotes included). Using PHP 7.0.x - All upgrade work Install a Moodle 3.1.x site (MOODLE_31_STABLE) Upgrade to 3.3.x (MOODLE_33_STABLE) Upgrade to 3.4.x (MOODLE_34_STABLE) Upgrade to 3.5.x (MOODLE_35_STABLE) Upgrade to 3.6dev (master). Verify that all the upgrades above work without problem. Using PHP 7.0.x - Upgrade to 34 & 35 with PHP 7.3 don't work Install a Moodle 3.1.x site (MOODLE_31_STABLE) Switch to PHP 7.3 Try to upgrade to 3.3.x (MOODLE_33_STABLE) Verify that upgrade doesn't work and you get the "PHP version 7.3 is not supported" message. Try to upgrade to 3.4.x (MOODLE_34_STABLE) Verify that upgrade doesn't work and you get the "PHP version 7.3 is not supported" message. Try to upgrade to 3.5.x (MOODLE_35_STABLE) Verify that upgrade doesn't work and you get the "PHP version 7.3 is not supported" message. Try to upgrade to 3.6dev (master). Verify that the upgrade works without problem.

      On Moodle 3.4 and 3.5, add an environmental check about PHP 7.3 not being supported.

      SeeĀ previous MDL-60543 as reference for this.

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Damyon Wiese Damyon Wiese
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.