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:
go to
MultiPHP Manager, select the domain, then in the dropdown where you have PHP versions, selectPHP 8.1 (ea-php81)and click onApplygo to
Select PHP Version. You would see a drop down forcurrent php version. Click the dropdown and select8.1and clickset as current(after you must have selected the domain).
Doing these above two things should clear the error your composer gives.
