I am hosting a site that needs to connect to SQL Server.
My PHP 7.2 is missing pdo_sqlsrv - how to install it and make it work?
I was trying that solution: Centos 8, PHP 7.2 and MS Sql Server but pecl/sqlsrv requires PHP (version >= 8.0.0) and I need 7.2
Install the msodbcsql package:
Install necessary packages:
Add the pdo_sqlsrv and sqlsrv-5.8.1 modules:
Reread PHP handlers:
Reread the components properties to make modules visible in GUI:
Make sure that the required modules are enabled:
Restart the PHP-FPM master process to apply changes to FPM sites
Solution from PLESK