在浏览器中启动项目symfony

时间:2017-03-28 08:22:53

标签: symfony symfony-forms symfony-2.1

我已经在浏览器中启动了我的Symfony项目,但我在error.log

中遇到了这个问题
  

[:error] [pid 4789] [client :: 1:39684] PHP致命错误:未捕获的异常' PDOException'有消息'无法找到驱动程序' in /var/www/html/ensoSteps/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43\nStack trace:\ n#0 / var / www / html / ensoSteps / vendor / doctrine / dbal / lib / Doctrine / DBAL / Driver / PDOConnection.php(43):PDO-> __ construct(' sqlite:/ var / www ...',NULL,NULL,Array)\ n# 1 /var/www/html/ensoSteps/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOSqlite/Driver.php(60):Doctrine \ DBAL \ Driver \ PDOConnection-> __ construct(' sqlite :/ var / www ...',NULL,NULL,Array)\ n#2 /var/www/html/ensoSteps/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(360) :Doctrine \ DBAL \ Driver \ PDOSqlite \ Driver-> connect(Array,NULL,NULL,Array)\ n#3 / var / www / html / ensoSteps / vendor / doctrine / dbal / lib / Doctrine / DBAL / Connection。 php(1365):Doctrine \ DBAL \ Connection-> connect()\ n#4 /var/www/html/ensoSteps/vendor/jackalope/jackalope-doctrine-dbal/src/Jackalope/Transport/DoctrineDBAL/Client.php (2619):Doctrine \ DBAL \ Connection-> getWrappedConnection()\ n#5 / var / www / html / ensoSteps / vendor / jackalope / jack in / var / www / html / ensoSteps / vendor / jackalope / jackalope-doctrine-dbal / src / Jackalope / Transport / DoctrineDBAL / Client.php 460行

请帮我解决这个问题。

0 个答案:

没有答案