In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the reasons for the errors in the installation of laravel new blog". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what are the reasons for the errors in laravel new blog installation?"
About the error report of laravel new blog installation
Specific problem description:
Use the laravel command to download a new laravel package prompt:
Your requirements could not be resolved to an installable set of packages. Problem 1-Installation request for doctrine/inflector v1.2.0-> satisfiable by doctrine/inflector [v1.2.0]. -doctrine/inflector v1.2.0 requires php ^ 7.0-> your PHP version (5.6.30) does not satisfy that requirement. Problem 2-doctrine/inflector v1.2.0 requires php ^ 7.0-> your PHP version (5.6.30) does not satisfy that requirement. -laravel/framework v5.4.30 requires doctrine/inflector ~ 1.0-> satisfiable by doctrine/inflector [v1.2.0]. -Installation request for laravel/framework v5.4.30-> satisfiable by laravel/ framework [v5.4.30] .Application ready! Build something amazing.
Said my PHP version is too low.
But I use composer create-project laravel/laravel-- prefer-dist blog.
There is no problem with installation. Is there a problem with the two? And if you want to solve the laravel command error, do you just need to change the PHP version?
Problem analysis:
First of all, let's talk about the question:
1. Obviously, the reason for the error is that the required version of PHP for doctrine/inflector1.2.0, a component of laravel5.4.30, is: ^ php7.0.
2.composer create-project laravel/laravel-the version downloaded by prefer-dist blog should not be laravel5.4.30, or check composer.json to see if the doctrine/inflector version is consistent?
Solution: just switch to php7.
At this point, I believe that you have a deeper understanding of "what are the causes of laravel new blog installation errors?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.