Open nestordedios opened 4 years ago
I have also changed the configuration of the Database connection in .env
to use a MySQL database, run php bin/console bolt:info
and it throws an error when MySQL drivers are not installed.
Probably it will do the same for other Databases supported by Bolt.
I have created a fresh Bolt 4 project running
composer create-project bolt/project myprojectname
and when the script post-install-cm commandphp bin/console bolt:info
is executed it throws an error when SQLite drivers are not installed.Reproduction
Install a fresh Bolt 4 project running
composer create-project bolt/project myprojectname
in a server or dev environment without SQLite drivers installed.Steps to reproduce
This is possible to reproduce when SQLite drivers are not installed in the server yet.
sudo apt-get remove php7.x-sqlite
. Replace "x" by the minor PHP version installed in the server.composer create-project bolt/project myprojectname
command.composer create-project bolt/project myprojectname
command.Expected result
Display an info/warning message when SQLite drivers are not installed, for example:
Details