I'm trying to connect Microsoft SQL Server

with (PHP 5.6.36):

```
$dbh = new PDO ("dblib:host=$hostname:$port;dbname=$dbname","$username","$pw");

```

And i get exception :

> 
> "could not find driver"
> 
> 
> 

Picture of `phpinfo()`:

[![enter image description here](https://i.stack.imgur.com/FqUKX.jpg)](https://i.stack.imgur.com/FqUKX.jpg)

I searched all over for solutions,but I Couldn't find any post that helped me