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

Remove php-mssql odbc options from db auth/enrol

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Authentication, Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      The PHP extension mssql was removed in PHP 7.0. As Moodle requires at least 7.0 (as of Moodle 3.4), use of Microsoft SQL Server databases is now only possible using the sqlsrv PHP extension. Consequently code using the mssql extension, i.e. resulting in calls to the removed mssql_XXX() functions should be removed as 1) the mssql and mssql_n database types are still listed for external database authentication and enrolment even though they cannot work causing confusion and 2) this is redundant code and will become unmaintained (which may lead to security vulnerabilities in the future).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              leonstr Leon Stringer
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: