Laravel 5.3和Whatsapi找不到驾驶员



我已经安装了新鲜的laravel项目我安装了whatsapi从我的项目中发送WhatsApp消息。我在此链接上浏览了步骤在此处输入链接说明

但是当我这样做的时候我的预言在我的路上喜欢

Route::get('whats',function(){
      // Retrieve user data from database, web service, and so on.
// Dummy method, fake data.
$user = new stdClass;
$user->name = 'Benjamín Martínez Mateos';
$user->phone = '5219512222222';
$message = "Hello $user->name and welcome to our site";
$messages = Whatsapi::send($message, function($send) use ($user)
{
    $send->to($user->phone);


    // Add new text message
    $send->message('Thanks for subscribe');
});
});

我得到此错误:

Whoops, looks like something went wrong. 1/1
PDOException in SqliteMessageStore.php line 23:
could not find driver
in SqliteMessageStore.php line 23
at PDO->__construct('sqlite:C:whatsapidemostorage/whatsapimsgstore-            962799024459.db', null, null, array('2', '2')) in SqliteMessageStore.php line 23
at SqliteMessageStore->__construct('962799024459',

如此错误所述: could not find driver

确保您在服务器上启用了PHP SQLITE PDO驱动程序

最新更新