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

Missing(?) PHP extension in installation requirements check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.3, 3.9.1, 3.10
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:

      Description

      Hey, all!

      First time here, although I have experience running Moodle in the past under GNU/Linux servers. I tried to find a similar issue with no success, so here I am.

      Today, I've decided to make a test Moodle installation (3.9, latest build) under FreeBSD 12.1-RELEASE-p6 (latest RELEASE & patch), with PostgreSQL 11.7_1 and PHP 7.4.7.

      You have a nice dependencies checker during the installation process, and I was easily able to fulfill (by quickly installing) all requirements thanks to it... After passing the checker, however, all I got was an error message. For this, I labeled the issue as a "bug". In short, it was:

      Call to undefined function PHPMailer\PHPMailer\filter_var().

      I managed to solve this by simply installing FreeBSD's php74-filter pkg.

      You should probably include the PHP extension "filter" (or the ability to test this function call) in your installation's requirements check to avoid this in the future. I have tested it only in FreeBSD, and I don't know if this extension is taken for granted in other systems or GNU/Linuxes around, but could likely affect beyond FreeBSD.

      Best regards,
      Thiago Cavalcanti

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            thiagojosebezerracavalcanti Thiago Jose Bezerra Cavalcanti
            Peer reviewer:
            Tim Hunt Tim Hunt
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m