Home > Software engineering >  I am deploying my Laravel project on live server with FileZilla and infinity free and I got this pro
I am deploying my Laravel project on live server with FileZilla and infinity free and I got this pro

Time:10-18

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

Note: I am currently using the latest PHP Version which is 8.1.6

CodePudding user response:

In your cPanel, Under the SOFTWARE tab:

  1. go to MultiPHP Manager, select the domain, then in the dropdown where you have PHP versions, select PHP 8.1 (ea-php81) and click on Apply

  2. go to Select PHP Version. You would see a drop down for current php version. Click the dropdown and select 8.1 and click set as current(after you must have selected the domain).

Doing these above two things should clear the error your composer gives.

  • Related