Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

wolganens's avatar

SQLSERVER PDO connect issue

Hello! I'm trying to laravel connect to SQL Express 2005. My operating system is Windows Server 2008 R2 SP1 x64. I downloaded the connection drivers in version 3.2 of the microsoft site, installed the Microsoft Visual C ++ 2008 2010 2012, installed the extension in php.ini

extension = php_pdo_sqlsrv_56_ts.dll

The dll is in the ext folder as the others.

The error I get:

PDOException: could not find driver

0 likes
1 reply
uxweb's avatar

You have to install the extension php_sqlsrv_56_ts.dll extension as well.

With only the pdo extension it will not work.

Please or to participate in this conversation.