Connect Laravel using Ubuntu in an MSSQL BD

Asked

Viewed 69 times

0

Can someone help me? I am trying to connect my project in Windows hosted in the apache2 of Ubuntu 14, using php 7.1 in a Microsoft SQL SERVER 2012 BD. I already installed the Freetds libraries and configured them, as this link: https://gist.github.com/gh.../97bf0b45a27d6b025d670752a7c62ec6 .I can even connect from the terminal with the command: isql -v MSSQL sa 'XXXXXX' But when I try to make a select in the Laravel appears: "Illuminate Database Queryexception could not find driver ". No . env of Laravel put like this: DB_CONECTION=sqlsrv I appreciate all your help.

  • 1

    and in the database.php file?

  • I decided, as I uploaded the application with git, I didn’t change the . env, so it didn’t recognize it. But it solved.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.