Skip to content

Call to undefined function GuzzleHttp\Psr7\try_fopen() #44

@odilov-sh

Description

@odilov-sh

I am trying to upload file to amazon, but I got this error

Call to undefined function GuzzleHttp\Psr7\try_fopen()

vendor\frostealth\yii2-aws-s3\src\handlers\UploadCommandHandler.php line 48

My code:

$result = $s3->commands()->upload('e:\Video\short videos\The Small Business Story – short video no captions.mp4', '/uplod/29/10/small.mp4')->withAcl('private')->execute();

How can I fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions