In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the issue of the php version of composer install, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
Problem: when executing composer install or composer update, the error message is that your php version number is too low to meet its version requirements, and it will not work after you use wamp to switch to the appropriate version number.
Ps:
1) if your php version does not meet the requirements, you can download a php package and install it in the G:\ wamp64\ bin\ php directory.
2) find php.ini phpForApache.ini wampserver.conf in your previous php folder and copy it to your new php folder.
3) modify the information in php.ini and phpForApache.ini as follows
Extension_dir = "G:/wamp64/bin/php/php7.1.9/ext/" path is the path you need, usually only need to change the version number.
4) change the information in wampserver.conf as follows (change 5 to the appropriate number, for example, if you are now in the php7.1.9 version, change 5 to 7, the first number of the version number. )
It turns out:
$phpConf ['apache'] [' 2.4'] ['LoadModuleName'] =' php5_module';$phpConf ['apache'] [' 2.4'] ['LoadModuleFile'] =' php5apache2_4.dll'
Change to:
$phpConf ['apache'] [' 2.4'] ['LoadModuleName'] =' php7_module';$phpConf ['apache'] [' 2.4'] ['LoadModuleFile'] =' php7apache2_4.dll'
5) restart wamp
Answer: although you have changed the version of wamp, the version you chose during installation of composer has not changed. You need to install composer again.
Composer download address: https://getcomposer.org/download/, go to the page and click on the place shown in the figure.
In the installation process will appear as shown in the figure, click Browse, modify your php version, when you execute composer install or composer update, you will use the php version you set.
Thank you for reading this article carefully. I hope the article "about the php version of composer install" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you 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.