George A. Custer
George A. Custer

Reputation: 121

SQLSRV Not Showing in PHP INFO using PHP 8.2.1 and Sql Server 2019

I have download and install SQLSRV32.EXE and SQLSRV40.EXE

I have configured php.ini by adding extension

extension_dir = "ext"

[PHP_SQLSRV]
extension = php_sqlsrv_81_ts.dll
extension = php_sqlsrv_81_ts_x64.dll

My Windows server 2019 and IIS restart several times after new configured php.ini,

I use am using SQL Server 2019, and my PHP version is as follows:

PHP 8.2.1 (cli) (built: Jan 3 2023 23:36:33) (NTS Visual C++ 2019 x64), 
Copyright (c) The PHP Group Zend Engine v4.2.1, Copyright (c) Zend Technologies,

But SQLSRV Not Showing in PHP INFO

Is there something wrong ?

Upvotes: 1

Views: 3626

Answers (1)

b126
b126

Reputation: 1254

Following the official GitHub from the Microsoft team (https://github.com/microsoft/msphpsql), there will be a release with PHP 8.2 support in January 2023.

UPDATE: Microsoft Drivers 5.11 for PHP for SQL Official Release:

https://learn.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server

Upvotes: 2

Related Questions