Symfony 2: Using SQLite as Database

I tried using SQLite3 with Symfony 2 and Doctrine but it did not work at first. You need to add another config value because the sqlite driver needs to know the “path” of the datebase. For me it only worked when name == path.