DEV Community

Pankaj Jha
Pankaj Jha

Posted on

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