cancel
Showing results for 
Search instead for 
Did you mean: 

unable to update extension from composer

unable to update extension from composer

I am trying to update one of my payment gateway extension through composer and the command is

composer update razorpay/update

But I am getting the below errors

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]

Previously I am trying to install the Facebook Pixel extension due to some technical issues we didn't install. After that when I am trying to install or update the extension I am getting the above error.

For reference please find the attached image.

Error-razor.png

5 REPLIES 5

Re: unable to update extension from composer

What this error is about?

Re: unable to update extension from composer

all you need to do is 
Update your PHP version to 7.2 / 7.3 

this will solve your issue. 

 

if you have cPanel / hosting admin there you can change it yourself. 

else you need to ask your hosting support for that. 

 

kindly Accept as a solution if this works for you and give Kudos Smiley Happy 

Re: unable to update extension from composer

I am using PHP 7.2.34 only

Re: unable to update extension from composer

in CLI its PHP 7.1.33 

you can check that by 

php -v

 

Re: unable to update extension from composer

All you have to do now is upgrade your PHP to version 7.2 or 7.3.

This will take care of your problem.

 

You can modify it yourself if you have cPanel or hosting admin access.

Otherwise, you'll have to contact your hosting company for assistance.

 

Please accept this as a solution and offer Kudos if it @more works for you.