Skip to content Skip to sidebar Skip to footer

Deploying Laravel On Heroku "pdoexception In Connector.php Line 55" (sqlite)

I tried to deploy my first Laravel project on Heroku. It's a small project, so I'm using SQLite as my database. After deploying the project using git push heroku master, and clicki

Solution 1:

I've also encountered this on Heroku.

I added:

{"require":{"ext-pdo_sqlite":"*"}}

Solution 2:

Sqlite is setup as a shared extension on Heroku, but has to be enabled through composer.json i believe.

Try adding:

{"require":{"sqlite3":"*"}}

To your composer.json file.

Post a Comment for "Deploying Laravel On Heroku "pdoexception In Connector.php Line 55" (sqlite)"