Hello everyone,
I encounter the following problem when I want to install PHP-MSSQL on centos stream 9:
[root@localhost ~]# sudo yum install php-mssql
Last metadata expiration check: 0:15:42 ago on Sat 09 Mar 2024 10:24:55 PM +01.
No match for argument: php-mssql
Error: Unable to find a match: php-mssql
can anyone help me to solve it please.
thanks.
PHP-MSSQL problem
Re: PHP-MSSQL problem
Quick websearch says that Remi's repos have (had) php-mssql for el[4567] and EPEL for el7.
Also, Remi's repos have (had) php56-php-mssql for el[678].
Those are for PHP 5.4 and 5.6.
RHEL 9 has PHP 8.0 (and 8.1 as an appstream). I'd guess that PHP 8 is different from PHP 5. If there is something for mssql, then it is by different name.
Also, Remi's repos have (had) php56-php-mssql for el[678].
Those are for PHP 5.4 and 5.6.
RHEL 9 has PHP 8.0 (and 8.1 as an appstream). I'd guess that PHP 8 is different from PHP 5. If there is something for mssql, then it is by different name.
Re: PHP-MSSQL problem
A quick google says "use PDO". It seems php-mssql was removed from php 7.x.I see php-pdo is in appstream in EL9 but it also looks like you need php-pdo-dblib from EPEL to allow MSSQL use.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: PHP-MSSQL problem
Indeed mssql extension was PHP 5 only
You can read https://blog.remirepo.net/post/2016/09/ ... r-from-PHP
You can read https://blog.remirepo.net/post/2016/09/ ... r-from-PHP
Re: PHP-MSSQL problem
hello,
I've already installed PHP-PDO without any problem. This PHP-MSSQL installation is necessary for nagios XI to monitor sqlserver.
I've already installed PHP-PDO without any problem. This PHP-MSSQL installation is necessary for nagios XI to monitor sqlserver.
Re: PHP-MSSQL problem
Report it to Nagios XL. They are using something which has been dead for at least 5 years and will never come back. They need to change to use something else.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: PHP-MSSQL problem
Hi
ok , thank you for your replay.
ok , thank you for your replay.