title: composer php version error after uploading project to live server
body: <p>Hello i'm trying to run my laravel project on live server using shared hosting after i upload all project file and directory and open my domain address it gives me error</p>
  <pre><code>Composer detected issues in your platform: Your Composer dependencies require a PHP version &quot;&gt;= 8.1.8&quot;.
  </code></pre>
  <p>and yes i was set up the php version on composer.json as <strong>&quot;php&quot;: &quot;^8.1.8&quot;,</strong> and <strong>&quot;php&quot;: &quot;^8.1.8&quot;</strong> on composer.lock and when i run the project in local machine it's running as expected without any error. i also check my php version on my shared hosting by using <strong>php -v</strong> and it's return:</p>
  <pre><code>PHP 8.1.8 (cli) (built: Jul 14 2022 13:17:16) (NTS)
  Copyright (c) The PHP Group
  </code></pre>
  <p>and on my local machine using <strong>php -v</strong> it return:</p>
  <pre><code>PHP 8.1.8 (cli) (built: Jul  5 2022 23:04:29) (ZTS Visual C++ 2019 x64)
  Copyright (c) The PHP Group
  Zend Engine v4.1.8, Copyright (c) Zend Technologies
  </code></pre>
  <p>i'm already find similar problem but none help to solve this...</p>