Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4689

Add a new Utility for System Requirement Check

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.4.0
    • Fix Version/s: Short Term
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      Sometimes people install Blesta, then later move it to another server and have issues because the server does not meet the system requirements. Or, they change the version of PHP, or enable/disable various extensions after installation.

      Under Tools > Utilities, add another Utility above "Update Database Collation" called:

      System Requirements Check
      Description: Check system requirements and generate a report.
      Button: Run Check

      On the resulting page, check all the things we normally check during installation and show them in a table. See https://docs.blesta.com/display/user/Requirements for requirements that we recommend that the installer cannot check for as well. For example, we should show the version of MySQL or MariaDB, which we can only determine by running a query on the database. Also fetch max_allowed_packet, wait_timeout, and PHP's max_input_vars.

      The table could be organized as follows:

      Option | Minimum | Recommended | Your Value
      PHP Version | 7.2 | 7.4 | 7.3.26

      It would also be good to have a button at the bottom of the table that will display PHP Info using phpinfo(). For formatting, it would be ok to load this in an iframe, but it SHOULD NOT be publicly accessible. Must be authenticated as a staff user with access to Tools > Utilities.

        Activity

        admin Paul Phillips created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: