PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 7, 2022

[FIXED] Laravel project not showing in localhost: "Composer detected issues in your platform...."

 January 07, 2022     composer-php, laravel, laravel-8, php     No comments   

Issue

When I want to see my Laravel project in localhost, I get the following error message.

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

My terminal PHP version is 8.0.2, and my MAMP PHP version is 8.0 (no higher version is available, it has always worked like this). I don't know what else to do. I have already put my composer.json and .lock files at 8.0.2 PHP.


Solution

Add the following to install/update commands if you have an invalid PHP version or are missing a PHP extension.

composer update --ignore-platform-reqs


Answered By - Karl Hill
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing