Title: open_basedir warning
Last modified: November 25, 2020

---

# open_basedir warning

 *  Resolved [acorroy](https://wordpress.org/support/users/acorroy/)
 * (@acorroy)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/open_basedir-warning/)
 * Hello,
 * I’ve lot of warning in php log :
 * [25-Nov-2020 16:16:03 UTC] PHP Warning: file_exists(): open_basedir restriction
   in effect. File(/home/phon/public_html/wp-content/db.php) is not within the allowed
   path(s): (/home/phon/:/usr/local/php7.4/pear/) in /home/phon/public_html/wp-content/
   plugins/query-monitor/output/html/db_queries.php on line 176
 * how to fix it ?

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [5 years, 6 months ago](https://wordpress.org/support/topic/open_basedir-warning/#post-13708903)
 * You’ll need to contact your web host about this.

Viewing 1 replies (of 1 total)

The topic ‘open_basedir warning’ is closed to new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/open_basedir-warning/#post-13708903)
 * Status: resolved