Knowledgebase

1. Composer Detected Issues in Your Platform (PHP >= 8.2.0) Print

  • 0

Cause:

The project requires PHP 8.2 or higher, but the hosting account uses an older PHP version.

Solution:

  • Log in to your cPanel.

  • Go to Select PHP Version .

  • Choose PHP 8.2 or above, then click Set as current / Apply.

  • After saving, check version using:

    php -v
  • If Composer still fails, run it explicitly with:

        /usr/local/bin/php82 composer install or/usr/local/bin/php82 composer update

Composer will now run correctly and install dependencies.

     


Was this answer helpful?
« Back