Title: PHP Warning!
Last modified: February 10, 2021

---

# PHP Warning!

 *  Resolved [luismt74](https://wordpress.org/support/users/luismt74/)
 * (@luismt74)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-warning-280/)
 * Hello, the plugin gives me an error and I can’t solve it. Can you help me please?
 * `PHP Warning: is_readable(): open_basedir restriction in effect. File(/home/mysite/.
   aws/config) is not within the allowed path(s): (/home/mysite/web/mysite.com/public_html:/
   home/mysite/tmp:/var/www/html:/etc/phpmyadmin:/etc/phpMyAdmin:/var/lib/phpmyadmin:/
   var/lib/phpMyAdmin:/etc/roundcube:/etc/roundcubemail:/var/lib/roundcube:/var/
   lib/roundcubemail:/tmp:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/
   sbin:/usr/share:/var/opt:/opt) in /home/mysite/web/mysite.com/public_html/wp-
   content/plugins/wp-s3-smart-upload/vendor/aws/aws-sdk-php/src/S3/UseArnRegion/
   ConfigurationProvider.php on line 65`
 * Wordpress 5.6.1
    PHP version 7.4.7

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

 *  [WP Folio Team](https://wordpress.org/support/users/buildwps/)
 * (@buildwps)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-warning-280/#post-14034552)
 * Hi [@luismt74](https://wordpress.org/support/users/luismt74/),
 * Thanks for letting us know.
 * It looks like our library is trying to read the default config File(/home/mysite/.
   aws/config). However, it’s not granted permission by your server (not within 
   the allowed paths). That’s why the warning displays.
 * By the way, which hosting provider are you using?
    Do you have total control 
   over your server, e.g. files, config, & permission?
 *  Thread Starter [luismt74](https://wordpress.org/support/users/luismt74/)
 * (@luismt74)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-warning-280/#post-14036680)
 * Hello! thanks for answering. Yes, I have a dedicated one and I can seek help 
   to make any modification.
 * You know, trying to find a solution I came across this. Sorry if I’m wrong: [Disable Client-Side Monitoring on AWS storage](https://github.com/nextcloud/server/pull/21447/commits/60a3bf8572127c752c00d601581a970928f67608)

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

The topic ‘PHP Warning!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-s3-smart-upload_5aacb9.svg)
 * [SSU - WordPress Amazon S3 & Wasabi Smart File Uploads Plugin](https://wordpress.org/plugins/wp-s3-smart-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-s3-smart-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-s3-smart-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-s3-smart-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-s3-smart-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-s3-smart-upload/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [luismt74](https://wordpress.org/support/users/luismt74/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/php-warning-280/#post-14036680)
 * Status: resolved