title: cpanel gives error laravel : Your lock file does not contain a compatible set of packages. Please run composer update
body: <p>I am trying to install laravel through <code>composer install</code></p>
  <p>it shows me error :</p>
  <pre><code>Installing dependencies from lock file (including require-dev)
  Verifying lock file contents can be installed on current platform.
  Your lock file does not contain a compatible set of packages. Please run composer update.
  </code></pre>
  <pre><code>  Problem 1
      - league/flysystem is locked to version 1.1.4 and an update of this package was not requested.
      - league/flysystem 1.1.4 requires ext-fileinfo * -&gt; it is missing from your system. Install or enable PHP's fileinfo extension.
    Problem 2
      - league/mime-type-detection is locked to version 1.7.0 and an update of this package was not requested.
      - league/mime-type-detection 1.7.0 requires ext-fileinfo * -&gt; it is missing from your system. Install or enable PHP's fileinfo extension.
    Problem 3
      - league/flysystem 1.1.4 requires ext-fileinfo * -&gt; it is missing from your system. Install or enable PHP's fileinfo extension.
      - laravel/framework v8.50.0 requires league/flysystem ^1.1 -&gt; satisfiable by league/flysystem[1.1.4].
      - laravel/framework is locked to version v8.50.0 and an update of this package was not requested.
  
  To enable extensions, verify that they are enabled in your .ini files:
      - /opt/cpanel/ea-php73/root/etc/php.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-bcmath.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-calendar.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-ctype.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-curl.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-dom.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-ftp.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-gd.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-iconv.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-imap.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-json.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-mbstring.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-mysqlnd.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-pdo.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-phar.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-posix.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-simplexml.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-sockets.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-sqlite3.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-tokenizer.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-xml.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-xmlwriter.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/20-xsl.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/30-mysqli.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/30-pdo_mysql.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/30-pdo_sqlite.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/30-wddx.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/30-xmlreader.ini
      - /opt/cpanel/ea-php73/root/etc/php.d/zzzzzzz-pecl.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.\
  </code></pre>
  <p>and also composer.json</p>
  <pre><code>{
      &quot;name&quot;: &quot;laravel/laravel&quot;,
      &quot;type&quot;: &quot;project&quot;,
      &quot;description&quot;: &quot;The Laravel Framework.&quot;,
      &quot;keywords&quot;: [&quot;framework&quot;, &quot;laravel&quot;],
      &quot;license&quot;: &quot;MIT&quot;,
      &quot;require&quot;: {
          &quot;php&quot;: &quot;^7.3|^8.0&quot;,
          &quot;fideloper/proxy&quot;: &quot;^4.4&quot;,
          &quot;fruitcake/laravel-cors&quot;: &quot;^2.0&quot;,
          &quot;guzzlehttp/guzzle&quot;: &quot;^7.0.1&quot;,
          &quot;laravel/framework&quot;: &quot;^8.40&quot;,
          &quot;laravel/tinker&quot;: &quot;^2.5&quot;,
          &quot;laravel/ui&quot;: &quot;^3.3&quot;
      },
      &quot;require-dev&quot;: {
          &quot;facade/ignition&quot;: &quot;^2.5&quot;,
          &quot;fakerphp/faker&quot;: &quot;^1.9.1&quot;,
          &quot;laravel/sail&quot;: &quot;^1.0.1&quot;,
          &quot;mockery/mockery&quot;: &quot;^1.4.2&quot;,
          &quot;nunomaduro/collision&quot;: &quot;^5.0&quot;,
          &quot;phpunit/phpunit&quot;: &quot;^9.3.3&quot;
      },
      &quot;autoload&quot;: {
          &quot;psr-4&quot;: {
              &quot;App\\&quot;: &quot;app/&quot;,
              &quot;Database\\Factories\\&quot;: &quot;database/factories/&quot;,
              &quot;Database\\Seeders\\&quot;: &quot;database/seeders/&quot;
          }
      },
      &quot;autoload-dev&quot;: {
          &quot;psr-4&quot;: {
              &quot;Tests\\&quot;: &quot;tests/&quot;
          }
      },
      &quot;scripts&quot;: {
          &quot;post-autoload-dump&quot;: [
              &quot;Illuminate\\Foundation\\ComposerScripts::postAutoloadDump&quot;,
              &quot;@php artisan package:discover --ansi&quot;
          ],
          &quot;post-root-package-install&quot;: [
              &quot;@php -r \&quot;file_exists('.env') || copy('.env.example', '.env');\&quot;&quot;
          ],
          &quot;post-create-project-cmd&quot;: [
              &quot;@php artisan key:generate --ansi&quot;
          ]
      },
      &quot;extra&quot;: {
          &quot;laravel&quot;: {
              &quot;dont-discover&quot;: []
          }
      },
      &quot;config&quot;: {
          &quot;optimize-autoloader&quot;: true,
          &quot;preferred-install&quot;: &quot;dist&quot;,
          &quot;sort-packages&quot;: true
      },
      &quot;minimum-stability&quot;: &quot;dev&quot;,
      &quot;prefer-stable&quot;: true
  }
  </code></pre>