Uploaded image for project: 'H5P'
  1. HFP-334

Abort install if requirements are not met

    Details

    • Type: Task
    • Status: Backlog (View workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: None
    • Labels:
      None
    • Sprint:
    • Acceptance Criteria:
      Hide
      Should not be possible to activate if requirements are not met.
      TBD: How to use this on existing sites? Should we run the tests in a upgrade hook, and warn the admin about any mandatory stuff missing?
      Show
      Should not be possible to activate if requirements are not met. TBD: How to use this on existing sites? Should we run the tests in a upgrade hook, and warn the admin about any mandatory stuff missing?

      Description

      We often see people having these problems:

      • Too old PHP version
      • SSL extension not installed
      • mbstring extension not installed
      • Max upload size too small

      It should not be possible to install/activate H5P on a system when we know the system will make H5P fail.

      I have started on a requirement-tester some time ago:
      https://github.com/h5p/h5p-php-library/commit/40e4da5b4268f0

      This could be used by the different platforms as follows:

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fnoks Pål Jørgensen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: