Topic: Old versions of php-pecl-mongodb disappeared

Hi.

I have an old version of php-pecl-mongodb installed on my servers. (I can't upgrade until I've also upgraded the mongodb server).

Anyhow, version 1.4.3 which I'm running seems to have disappeared from the repo. 1.el7.remi.7.2.

I have successfully installed this version from the php72 repo on several servers, but can no longer install it on new servers.

Running this:

    yum --enablerepo=remi-php72 install php-pecl-mongodb-1.4.3

Gives:

  No package php72-php-pecl-mongodb-1.4.3 available.

Does anyone know how can access the old version?

Re: Old versions of php-pecl-mongodb disappeared

You have to download old packages from the online archive:
http://rpms.remirepo.net/store/php/pecl/mongodb/

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Old versions of php-pecl-mongodb disappeared

Thanks Remi.

Am I right in assuming I must maintain this RPM in a local repository now? As opposed to somehow making it available to the original remi-php72 repo that it was installed from.

Re: Old versions of php-pecl-mongodb disappeared

> Am I right in assuming I must maintain this RPM in a local repository now?

Indeed, the online repository only have 2 versions

BTW, according to semver 1.5 is compatible with 1.4.
When upstream break API (major version), I usually provide a new package (ex php-pecl-redis and php-pecl-redis4)

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Old versions of php-pecl-mongodb disappeared

Thanks again, I have it working in a local repo.

Regarding versioning. I'm sure the upgrade would be compatible with code written for 1.4, but the issue is that 1.5 dropped support for Mongo DB server version 2.6 - which is very old, but which I'm stuck on.

Ref: https://docs.mongodb.com/ecosystem/driv … patibility