1 (edited by sping 2020-11-04 19:35:20)

Topic: Extension php-sqlsrv plus disponible / no longuer available

L'extension php-sqlsrv n'est plus disponible dans les librairies php 7.3 et 7.4 de Remi.
Est-ce volontaire?

The php-sqlsrv extension is no longer available in the php 7.3 and 7.4 libraries from Remi.

Merci!

Re: Extension php-sqlsrv plus disponible / no longuer available

It is there

Base packages:
7.3: https://rpms.remirepo.net/enterprise/8/ … qlsrv.html
7.4: https://rpms.remirepo.net/enterprise/8/ … qlsrv.html

SCL packages
7.3: https://rpms.remirepo.net/enterprise/8/ … qlsrv.html
7.4: https://rpms.remirepo.net/enterprise/8/ … qlsrv.html

Above links are for C8, don't know for which distro / version / arch you are searching, but should be there for all.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

3 (edited by sping 2020-11-05 18:05:59)

Re: Extension php-sqlsrv plus disponible / no longuer available

It's in CentOS 7 distro base packages php 7.3. When i list yum installed php packages, the php-sqlsrv package is in red, meaning it is no longuer available.

Mirror : remi-php73 : mirror.team-cymru.com
php-sqlsrv.x86_64    5.8.1-1.el7.remi.7.3    @remi-php73

I tried other mirrors with same result.

Re: Extension php-sqlsrv plus disponible / no longuer available

Sorry, don't see any issue

# dnf install php-sqlsrv
packages-microsoft-com-prod                                                         2.4 MB/s | 4.2 MB     00:01    
Last metadata expiration check: 0:00:03 ago on Fri Nov  6 07:23:22 2020.
Dependencies resolved.
====================================================================================================================
 Package               Arch             Version                         Repository                             Size
====================================================================================================================
Installing:
 php-sqlsrv            x86_64           5.8.1-1.el7.remi.7.3            remi-php73                            267 k
Installing dependencies:
 msodbcsql17           x86_64           17.6.1.1-1                      packages-microsoft-com-prod           788 k

Transaction Summary
====================================================================================================================
Install  2 Packages

Total download size: 1.0 M
Installed size: 3.7 M
Is this ok [y/N]: 
...


# yum list installed php-sqlsrv
...
Installed Packages
php-sqlsrv.x86_64                                   5.8.1-1.el7.remi.7.3                                   installed
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Extension php-sqlsrv plus disponible / no longuer available

I did a "yum clean all" and it fixed the problem. Sorry for wasting your time.

Thank you!

Re: Extension php-sqlsrv plus disponible / no longuer available

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi