Laravel installation error


Aug 5th, 2022 07:45 AM

I try to install a laravel project but im getting an error


try to contact the the developers from the project the say i need to run composer dump.

but im getting an error error.png /

anyone any idea how to fix it?


Aug 5th, 2022 07:53 AM

Seems the app uses intervention/image but it doesn't install it when running composer install? Then installing it should solve it.

composer require intervention/image

Aug 5th, 2022 08:04 AM

after running the code 2.png i got this error


Aug 5th, 2022 08:29 AM

That Laravel app requires PHP ^7.3.0, but you're running PHP 8. The error is self-explanatory. Look in your composer.json under the require key and you'll probably see something similar to php: ^7.3. Meaning that application requires a PHP version that is compatible with PHP 7.3 and 7.4, you can read more about how versioning works on Composers documentation. Downrading to PHP 7.4 should fix that.

As for the other issues those will probably also be fixed if you run a version of PHP that's required.