MSSQL driver for PHP7

In PHP5, I download driver from microsoft and set it up in php.ini

extension=php_sqlsrv_56_ts.dll

extension=php_pdo_sqlsrv_56_ts.dll

It help me working fine to fetch data from MSSQL database both for Yii1 and Yii2.

Yii1:

‘dbAUSASLDATA’ => array(

        //'connectionString' => 'mssql:host=localhost;dbname=testdrive',


        'class' => 'CDbConnection',


        'connectionString' => 'sqlsrv:Server=ThatDBServerName;Database=ThatDatabaseName',


        //'emulatePrepare' => true,


        'username' => '',


        'password' => '',


        'charset' => 'utf8',


        'tablePrefix' => 'DBO.',


    ),

yii2:

return [

'class' => 'yii\db\Connection',


'dsn' => 'sqlsrv:Server=ThatDBServerName;Database=ThatDatabaseName',


'username' => '',


'password' => '',


'charset' => 'utf8',


'tablePrefix' => 'DBO.',

];

However, I did not find latest sql dirver for PHP7 from microsoft website.

Do any one can give a hint of it?

Thanks.

Btw, It will be work by using ODBC.odbc:Driver={SQL Server};

I just wonder do sqlrv driver ready for PHP7?

PDO is in the works: https://github.com/Azure/msphpsql/issues/58

Ok, then I use ODBC firstly and wait until PDO ready in case want upgrade to PHP7 immediately.