DEV Community

Pankaj Jha
Pankaj Jha

Posted on

2

How can I update PHP mongoDB extension in Ubuntu?

Hello Good Developers,

I have Ubuntu with PHP 7.2.24 with FPM installed in our production server with Apache and Nginx as the reverse proxy. Currently, it has MongoDB Extension version 1.5.5 installed with it.

One of my package that is built in Laravel 6.0 requires MongoDB extension ^1.6

Now because of this dependency, I cannot install my application on my server.

Everywhere I see articles to install an extension but nowhere I see a tutorial to upgrade an extension.

Top comments (1)

Collapse
 
pankajjha profile image
Pankaj Jha

@matt - This is the first time for me as well. seems like I have to uninstall the extension and then install it

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay