Composer detected issues in your platform: Your Composer dependencies require a PHP version ">8.0.2"

[### Username (e.g. epiz_XXX) or Website URL]

https://ndsdentalclinic.42web.io/

Error Message

Composer detected issues in your platform: Your Composer dependencies require a PHP version “>8.0.2”.

Other Information

we are using php version 8.1

You are? Free hosting does not support PHP 8 yet.

You will need to use an older version of the program (As long as it is safe), or find alternative software. Upgrading to premium is also an option.

8 Likes

Edit composer.json and of course check composer.lock

image is only an example (landmark)
image

e.g.

"php": ">=7.4"

and then other actions depending on which app you have (read the manual).

Try to get a development environment set up with PHP 7.4, and then run `composer update with PHP 7.4. If that completes without errors, you can upload the generated vendor folder here.

7 Likes

In addition to the require directive in the composer.json, you can also set the platform config to tell Composer to download dependencies for PHP 7.4. This is how you can configure that:

We use PHP 7.4.8.

After that, you can re-run composer install to generate a new vendor folder.

Note that you may need to downgrade some dependencies to support this older PHP version.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.