Your Composer Dependencies Require A Php Version 8

0

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

Question Resolved For: Stock Manager Advance with All Modules 0 Votes 5 Answers 1.1k Views
Asked by Xwar Eg 2 years ago

0

Answered by Mian Saleem 2 years ago

Hello,

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

Thank you

0

Answered by Janwil Brayles 2 years ago

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?

0

Answered by Mian Saleem 2 years ago

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

0

Answered by Janwil Brayles 2 years ago

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

0

Answered by Mian Saleem 2 years ago

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

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.