Home > Enterprise >  Old Laravel project is not working after a while, What can I do to make it running again?
Old Laravel project is not working after a while, What can I do to make it running again?

Time:05-26

I have an old project and I am not the person that worked on it

I need to run it again but it's giving me this error

This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 500

I tried to run composer update but it gives me this error

Problem 1
- Root composer.json requires php ^7.1.3 but your php version (8.1.5) does not satisfy that requirement.
Problem 2
- laravel/framework[v5.6.0, ..., 5.6.x-dev] require php ^7.1.3 -> your php version (8.1.5) does not satisfy that requirement.
- Root composer.json requires laravel/framework 5.6.* -> satisfiable by laravel/framework[v5.6.0, ..., 5.6.x-dev].

CodePudding user response:

Did you put your project inside the HTTP folder?

CodePudding user response:

You can do composer install by following command composer install --ignore-platform-reqs --no-script

Also another way can be to update your composer.json php version to 8 or downgrade your system php version to php7.

Hope it works.

  • Related