Cannot read credentials from /.aws/credentials - PHP script call AWS-SDK
问题 I've looked at every answer on here and it seems my problem is a little different or there hasn't been a proper solution. I'm doing the following in my PHP file: use Aws\Route53\Route53Client; $client = Route53Client::factory(array( 'profile' => 'default', 'region' => 'us-east-1', 'version' => '2013-04-01' )); Getting this error: Fatal error: Uncaught Aws\Exception\CredentialsException: Cannot read credentials from /.aws/credentials Seems like the easy fix would be ensure that the HOME