php - Can't connect to database with laravel 5 -


i'm trying connect mssql database laravel 5 it's not working. i've tried connect different mssql databases it's not firewall issue. credentials correct. found on google need sql server native client 11.0 , i've installed that.

this connection array in config/database.php:

'sqlsrv' => [             'driver'   => 'sqlsrv',             'host'     => env('nvt'),             'database' => env('nvt'),             'username' => env('nvt'),             'password' => env('nvt'),             'charset'  => 'utf8',             'prefix'   => '',         ], 

and i've set default "sqlsrv" :

'default' => env('sqlsrv','sqlsrv'), 

but when i'm trying create table receive error:

pdoexception in connector.php line 50: not find driver

what wrong???

edit:

i've installed pdo sqlsrv here: http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx

and added php.ini file: extension=\installaties\php_pdo_sqlsrv_53_nts.dll

but stil receive error?

try remove eve() method, mean use following method

'sqlsrv' => [         'driver'   => 'sqlsrv',         'host'     => 'nvt',         'database' => 'nvt',         'username' => 'nvt',         'password' => 'nvt',         'charset'  => 'utf8',         'prefix'   => '',     ], 

Comments