Deploying Laravel on Heroku “PDOException in Connector.php line 55” (sqlite)

后端 未结 2 1129
滥情空心
滥情空心 2021-01-03 14:05

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 mas

2条回答
  •  时光说笑
    2021-01-03 14:46

    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.

提交回复
热议问题