I configured Wasabi S3 storage for my web application.It is working in local host.
After moved files into remote server. I am getting the below error.
Fatal error: Class 'Aws\ClientSideMonitoring\Configuration' not found in /data/www/{rootfolder}/release/{foldernubmer}/vendor/aws/aws-sdk-php/src/ClientSideMonitoring/ConfigurationProvider.php on line 190.
My code looks like this:
require DIR.'/vendor/autoload.php';
use Aws\S3\S3Client;
use Aws\Sts\StsClient;
use Aws\S3\Exception\S3Exception;
use Aws\ClientSideMonitoring\Configuration;
$bucket='Bucketname';
$s3Client = S3Client::factory(array(
'endpoint' => 'http://s3.wasabisys.com',
'region' => 'us-east-1',
'version' => 'latest',
));
$result = $s3Client->listBuckets();
I configured Wasabi S3 storage for my web application.It is working in local host.
After moved files into remote server. I am getting the below error.
Fatal error: Class 'Aws\ClientSideMonitoring\Configuration' not found in /data/www/{rootfolder}/release/{foldernubmer}/vendor/aws/aws-sdk-php/src/ClientSideMonitoring/ConfigurationProvider.php on line 190.
My code looks like this:
require DIR.'/vendor/autoload.php';
use Aws\S3\S3Client;
use Aws\Sts\StsClient;
use Aws\S3\Exception\S3Exception;
use Aws\ClientSideMonitoring\Configuration;
$bucket='Bucketname';
$s3Client = S3Client::factory(array(
'endpoint' => 'http://s3.wasabisys.com',
'region' => 'us-east-1',
'version' => 'latest',
));
$result = $s3Client->listBuckets();