我尝试加载 aerospike php api 类但出现错误
Fatal error: Class 'Aerospike' not found
我的代码看起来
<?php
require "vendor/autoload.php";
$config = [
"hosts" => [
[ "addr" => "127.0.0.1", "port" => 3000]
]
];
// The new client will connect and learn the cluster layout
$db = new Aerospike($config);
我正在做作曲家安装和作曲家更新有什么问题?如果您需要更多文件来显示,请告诉我。