Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WARNING: "pecl/mongo" is deprecated in favor of "channel:///mongodb"

Tags:

php

pecl

What does that pecl message mean? I mean specifically how does one use the channel described in the error message? ... or in other words how can I address this error (but not specific to mongo, i.e. I get this failure not just when trying to install Mongo but also when trying to install other things and I don't understand how to fix it in general).

Should I be "installing" the channel via pecl somehow? (Much like one adds a channel to yum).

Or what?

like image 315
geoidesic Avatar asked Dec 03 '15 07:12

geoidesic


1 Answers

It simply means that mongo extension is deprecated, and you should use mongodb instead:

pecl install mongodb
like image 78
malcolm Avatar answered Oct 16 '22 14:10

malcolm