I’m trying to create signed urls from cloudfront with aws-sdk-php I have created both Distributions WEB and RTMP and this is the code i used to do that this is start.php and this is config.php and this is index.php When i click on the link i get that error What is the problem here and how can i solve that?
Tag: aws-sdk
AWS SDK PHP – Cannot read credentials from /.aws/credentials
There seems to be an error either in the documentation or the SDK itself. The SDK keeps looking for the standard credentials file while there is none. It fails with this error: Does anybody have a clue on how fix this? Answer I removed ‘profile’ => ‘default’, from the s3client and it worked. It seemed the profiles were defined twice.