Update to 4.3.4 problem with composer

I updated version to 4.3.4. and uploaded to server and then error:

 Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 8.0.1. in /www/vendor/composer/platform_check.php on line 24

On localhost its ok… please help.

The error message seems pretty clear?

I understand, but I don’t know how to solve …

Well, either update you used PHP Version to 8.0.2 or higher


find the package which requires PHP 8.0.2 via composer and up/downgrade it

composer why php
1 Like

Thank You! Its works

Good example of why it’s important to run exactly the same version of everything on your dev and production systems, if at all possible.

Add this to composer.json:

    "config": {
        "platform": {
            "php": "8.0.1"