Title: Open_basedir php warning
Last modified: January 9, 2017

---

# Open_basedir php warning

 *  Resolved [TwoBrands BV](https://wordpress.org/support/users/webworkx/)
 * (@webworkx)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/open_basedir-php-warning/)
 * We noticed following error in our error log on the host.
 * PHP Warning: file_exists(): open_basedir restriction in effect. File(/public_html/
   wp-content/uploads/sucuri) is not within the allowed path(s): (/tmp/:/var/tmp/:/
   usr/local/php70/lib/:/usr/local/php54/lib/:/usr/local/php55/lib/:/usr/local/php56/
   lib/:/usr/local/php70/lib/:/usr/local/lib/php/) in /public_html/wp-content/plugins/
   sucuri-scanner/sucuri.php on line 7854
 * What can we do about this?
    Thanks!

Viewing 1 replies (of 1 total)

 *  [Daniel Cid](https://wordpress.org/support/users/ddsucurinet/)
 * (@ddsucurinet)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/open_basedir-php-warning/#post-8660692)
 * The easiest way is to go to your php.ini and add “/public_html/wp-content/uploads/
   sucuri” to your “open_basedir” option.
 * Details on open_basedir here: [http://www.php.net/manual/en/ini.core.php#ini.open-basedir](http://www.php.net/manual/en/ini.core.php#ini.open-basedir)
 * thanks,

Viewing 1 replies (of 1 total)

The topic ‘Open_basedir php warning’ is closed to new replies.

 * ![](https://ps.w.org/sucuri-scanner/assets/icon-256x256.png?rev=2875755)
 * [Sucuri Security - Auditing, Malware Scanner and Security Hardening](https://wordpress.org/plugins/sucuri-scanner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sucuri-scanner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sucuri-scanner/)
 * [Active Topics](https://wordpress.org/support/plugin/sucuri-scanner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sucuri-scanner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sucuri-scanner/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Cid](https://wordpress.org/support/users/ddsucurinet/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/open_basedir-php-warning/#post-8660692)
 * Status: resolved