【发布时间】:2018-07-09 15:48:43
【问题描述】:
我收到了这个错误。
我在我的 centos 7 服务器中编写 Twilio SDK。
这是我的错误 php 文件的代码
<?php
require __DIR__ . '/vendor/autoload.php';
use Twilio\TwiML;
// Start our TwiML response
$response = new TwiML;
// Read a message aloud to the caller
$response->say(
"Thank you for calling! Have a great day.",
array("voice" => "alice")
);
echo $response;
我能做什么??
【问题讨论】:
-
您能否确认您看到了包含 Twilio 库的
vendor文件夹?看起来您可能缺少已安装的库。
标签: php twilio fatal-error