BackWPUp S3 causing errors when open_base_dir is active
-
Warning: is_readable(): open_basedir restriction in effect. File(/.aws/config) is not within the allowed path(s): (/home/***/domains/***:/tmp:/var/tmp:/home/***/.tmp:/home/***/.php:/usr/local/php:/opt/alt:/etc/pki) in?/home/***/domains/***/public_html/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/DefaultsMode/ConfigurationProvider.php?on line?152
The backups also are not sent to AWS.
And the problem is pretty abvious, since you’re trying to get config from file that is not accessible by the scirpt.
Solution also is pretty obvious and clearly described in AWS SDK:
https://github.com/aws/aws-sdk-php/issues/2303
You should set:
‘use_aws_shared_config_files’ => false,
when creating new Aws\S3\S3Client object.
- The topic ‘BackWPUp S3 causing errors when open_base_dir is active’ is closed to new replies.