you got the ODBC Driver for your ubuntu system?
ODBC connections have never worked for me on the first try, stay strong: D
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to connect to a Microsoft SQL server instance that is hosted on my Windows machine from a ubuntu 16.04 virtual machine. I've installed sqlsrv and pdo_sqlsrv according to https://docs.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac
artisan migrate works, but when my application tries to access the database through the pdo driver (for example when trying to register) it throws a QueryException saying
could not find driver
The error page also shows that it is a PDOException.
How can I go about fixing this?
Please or to participate in this conversation.