Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.3k views
in Technique[技术] by (71.8m points)

magento - composer is showing different php version compare to application php

composer is showing a different PHP version (7.1.33) but our application is showing a 7.2.34 PHP version. For this reason, we are unable to install and update the extension.

Problem 1 - guzzlehttp/guzzle 7.2.0 requires php ^7.2.5 || ^8.0 -> your PHP version (7.1.33) does not satisfy that requirement. - guzzlehttp/guzzle 7.1.1 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. - guzzlehttp/guzzle 7.1.0 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. - guzzlehttp/guzzle 7.0.1 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. - guzzlehttp/guzzle 7.0.0 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. - Conclusion: don't install facebook/php-business-sdk 9.0.3 - Conclusion: don't install facebook/php-business-sdk 9.0.2 - Conclusion: don't install facebook/php-business-sdk 9.0.1 - Conclusion: remove guzzlehttp/guzzle 6.4.1 - Installation request for facebook/php-business-sdk ^9.0 -> satisfiable by facebook/php-business-sdk[9.0.0, 9.0.1, 9.0.2, 9.0.3]. - Conclusion: don't install guzzlehttp/guzzle 6.4.1 - facebook/php-business-sdk 9.0.0 requires guzzlehttp/guzzle ^6.5 || ^7.0 -> satisfiable by guzzlehttp/guzzle[6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 7.0.0, 7.0.1, 7.1.0, 7.1.1, 7.2.0]. - Can only install one of: guzzlehttp/guzzle[6.5.0, 6.4.1]. - Can only install one of: guzzlehttp/guzzle[6.5.1, 6.4.1]. - Can only install one of: guzzlehttp/guzzle[6.5.2, 6.4.1]. - Can only install one of: guzzlehttp/guzzle[6.5.3, 6.4.1]. - Can only install one of: guzzlehttp/guzzle[6.5.4, 6.4.1]. - Can only install one of: guzzlehttp/guzzle[6.5.5, 6.4.1]. - Installation request for guzzlehttp/guzzle (locked at 6.4.1) -> satisfiable by guzzlehttp/guzzle[6.4.1]

For reference please find the attached image.

enter image description here

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...