Laravel Quick Install sets DB_CONNECTION to sqlite and ignores created database credentials

When I’m creating a new app using Quick Install and selecting “Laravel (latest)” with the “Create Database” option enabled, it sets DB_CONNECTION=sqlite in the .env file. The first error I get when accessing the site is that the SQLite driver is not found. Also, the .env file is not automatically filled with the database credentials generated by the “Create Database” option.