This is because your machine probably doesn't have installed PDO drive for php.
i would run everything from vm because the point of using vm is that you dont have configure these things by yourself on host machine.
I have installed laravel using homestead. So far, everything has worked fine until I've come to the point where I've tried to use sqlite. In particular, I am working on this lesson and get the following error message when I run php artisan migrate:
[PDOException]
could not find driver
...iles (x86)\Cmder/vendor/clink-completions/npm_prompt.lua:11: attempt to concatenate local 'package) nil valuC:\Users\moshe\Code\Laravel {git}{hg}
However, if I run homestead ssh and then sqlite3, I see that I have sqlite installed:
SQLite version 3.8.2 2013-12-06 14:53:30
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>
But in the tutorial, Jeffrey did NOT go into homestead ssh (as far as I can tell). So I am wondering what I have to do to get access to sqlite without entering into ssh.
I should note that I am working on a Windows 10 machine.
Thanks.
Please or to participate in this conversation.