pdo_sqlsrv only runs on Windows. You should follow that link the error message about the old ODBC driver 11.
sqlsrv is a different extension called "sqlsrv", which you dont have installed (hence the errors). On Tue, May 5, 2015 at 8:32 PM, Andrew Monkiewicz <[email protected]> wrote: > As I'm completely stuck in linux, I thought I'd try and give windows a > shot: > > I have php_pdo_sqlsrv_55_nts.dll in my ext directory > > php -m reports that PDO and pdo_sqlsrv are loaded > > phpinfo shows the pdo_sqlsrv drivers loaded: > > PDO drivers => sqlsrv > > pdo_sqlsrv > > pdo_sqlsrv support => enabled > > Directive => Local Value => Master Value > pdo_sqlsrv.client_buffer_max_kb_size => 10240 => 10240 > pdo_sqlsrv.log_severity => 0 => 0 > > php app/console doctrine:mapping:import --force SomethingSomethingBundle > > so with database_driver: pdo_sqlsrv > > I get: > > [PDOException] > SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver 11 > for S > QL Server to communicate with SQL Server. Access the following URL to > downl > oad the ODBC Driver 11 for SQL Server for x86: > http://go.microsoft.com/fwli > nk/?LinkId=163712 > > > And with database_driver: sqlsrv > > I get: > > [Symfony\Component\Debug\Exception\UndefinedFunctionException] > Attempted to call function "sqlsrv_configure" from namespace > "Doctrine\DBAL > \Driver\SQLSrv". > > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
