Topic: No package php-mssql available

Hi

I used the following to install this using your repo. HOwever, the package is not found.

Any idea?

cd /etc/yum.repos.d/
wget http://rpms.famillecollet.com/enterprise/remi.repo

yum install freetds
yum install freetds-devel
yum install --enablerepo=remi php-mssql

Output:

Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.modern.host
* epel: epel.mirrors.ovh.net
* extras: mirrors.modern.host
* remi: rpms.famillecollet.com
* rpmforge: link removed
* updates: mirrors.modern.host
No package php-mssql available.

Re: No package php-mssql available

Of course php-mssql is available (except for PHP 7.0 as it have been dropped upstream)
Ex: http://rpms.famillecollet.com/enterpris … mssql.html

Distro ? version ? arch ? Full yum command + output ?

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 jp1981 2015-03-31 10:54:04)

Re: No package php-mssql available

Thanks for the prompt reply.

CentOS release 6.6 (Final)
64 bit
PHP 5.3.29

Output:
yum install --enablerepo=remi php-mssql        Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.modern.host
* epel: epel.mirrors.ovh.net
* extras: mirrors.modern.host
* remi: rpms.famillecollet.com
* rpmforge: archive.cs.uu.nl
* updates: mirrors.modern.host
No package php-mssql available.
Error: Nothing to do

Re: No package php-mssql available

# LANG=C yum --disablerepo=* --enablerepo=remi list php-mssql
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
remi                                                                          | 2.9 kB     00:00     
Available Packages
php-mssql.x86_64                          5.4.39-1.el6.remi                                 remi

So something wrong in your configuration.
Have you change remi.repo file ?

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: No package php-mssql available

I haven't changed anything.

yum --disablerepo=* --enablerepo=remi list php-mssql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* remi: rpms.famillecollet.com
Error: No matching Packages to list

I will re-install the OS and try again.