Title: AWS Open_basedir Warning
Last modified: August 23, 2021

---

# AWS Open_basedir Warning

 *  Resolved [webcitymedia](https://wordpress.org/support/users/webcitymedia/)
 * (@webcitymedia)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/aws-open_basedir-warning/)
 * We recently started getting these warnings when backing up to our AWS S3 account.
 * WARNING: is_readable(): open_basedir restriction in effect. File(/.aws/config)
   is not within the allowed path(s): (/var/www/vhosts/xyz.com/:/tmp/)
 * The backups are okay but we get this warning every day now.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/aws-open_basedir-warning/#post-14801255)
 * Hello [@webcitymedia](https://wordpress.org/support/users/webcitymedia/)
    The
   warning caused by the AWS S3 SDK when your server has `open_basedir` enabled,
   you can just ignore the warning or contact the hoster to disable `open_basedir`
   Also, I found a workaround, maybe it could help, please add the following line
   to your wp-config.php, before the line `/* That's all, stop editing! Happy publishing.*/`:`
   define('AWS_S3_USE_ARN_REGION',false);`
 *  Thread Starter [webcitymedia](https://wordpress.org/support/users/webcitymedia/)
 * (@webcitymedia)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/aws-open_basedir-warning/#post-14801303)
 * Thanks for the quick response. I previously tried the define string without success.
   Gotta hit the customer’s hosting provider.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘AWS Open_basedir Warning’ is closed to new replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

## Tags

 * [aws](https://wordpress.org/support/topic-tag/aws/)
 * [open_basedir](https://wordpress.org/support/topic-tag/open_basedir/)

 * 2 replies
 * 2 participants
 * Last reply from: [webcitymedia](https://wordpress.org/support/users/webcitymedia/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/aws-open_basedir-warning/#post-14801303)
 * Status: resolved