How to install PHP Extension for MSSQL

Hi,

Does anyone know how to install PHP Extension for MSSQL / SQL SERVER?

I need to connect to a remote MSSQL server database to fetch some data for my PHP application.

I’m using CentOS 8 and CyberPanel version 2.1.

Any help would be much appreciated.

Thank you!

In cyberpanel go to the PHP->PHP extension and install any extension that you need for any version.

Thank you, Sir. The problem is I cannot find the extension for the SQL server.

Do you know any other way to install this? Thank you

https://www.php.net/manual/en/sqlsrv.installation.php#:~:text=The%20SQLSRV%20extension%20is%20enabled,download%20here%3A%20»%20SQLSRV%20download.