Question: Your Composer Dependencies Require A Php Version 8

Your Composer Dependencies Require A Php Version 8

i have php 7.4 on my server after installing when going to login page it come back with this error Composer detected issues in your platform: Your Composer dependencies require a PHP ve

XE

Xwar Eg

Asked

i have php 7.4 on my server after installing when going to login page it come back with this error
Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.0.0”. can you help how to solve that

  • MS

    Mian Saleem

    Answered

    Hello,

    Please use php8.0 or run composer install command from your terminal after opening the folder you have upload the files.

    Thank you

  • JB

    Janwil Brayles

    Answered

    I experience this. when accessing the domain after install, it says Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.0.0”.

    I contacted the hosting but there’s no way to use PHP8.

    Is there a way to bypass it?

  • MS

    Mian Saleem

    Answered

    Janwil Brayles What is your php version? If php7.4, then you can run composer install to install the packages agian. Thank you

  • JB

    Janwil Brayles

    Answered

    How to use composer install? do we have the tutorial on PDF?

  • MS

    Mian Saleem

    Answered

    Hello,

    I don’t have tutorial, but these are the steps.

    1. Open terminal/ssh to your server
    2. Open the folder where you have uploaded the files
    3. Run composer install

    Most of the shared hosting offer cPanel & Plesk, both have the options to run command for the site. For vps, you can login using ssh.

    You can check with your server admin as they can guide you exactly, how to run the commands for the site.

    Thank you

  • Login to Reply