• Resolved webcitymedia

    (@webcitymedia)


    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)
  • Plugin Support happyAnt

    (@duongcuong96)

    Hello @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

    (@webcitymedia)

    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.