Title: PHP Warnings
Last modified: September 19, 2023

---

# PHP Warnings

 *  Resolved [Safety13](https://wordpress.org/support/users/safety13/)
 * (@safety13)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-167/)
 * How do I stop these errors from being recorded in the server log? Get hundreds
   of warnings everyday.
 * PHP Warning: file_exists(): open_basedir restriction in effect. File(/watch) 
   is not within the allowed path(s): (/www/xxx/public:/www/xxx/mysqleditor:/www/
   xxx/web:/www/xxx/deploy:/www/xxx/deployment:/www/xxx/deployments:/usr/share:/
   tmp:/www/xxx/public/wp-content/plugins/download-monitor/) in /www/xxx/public/
   wp-content/plugins/download-monitor/src/FileManager.php on line 80″ while reading
   response header from upstream, client: 95.181.237.3, server: xxx, request: “GET/
   download/6227/?tmstv=1695144862 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/
   php8.0-fpm-xxx:”, host: “xxx:40739”
 * The files are always custom urls which link to 3rd party sites like YouTube.

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

 *  [beatrice12](https://wordpress.org/support/users/beatrice12/)
 * (@beatrice12)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-167/#post-17079048)
 * Hello [@safety13](https://wordpress.org/support/users/safety13/),
 * Thanks for reaching out to us!
 * The open_basedir is a server configuration, a security measure to disallow file
   access.
   The message says that the required file is not located within the allowed
   path(s). Please go to cPanel or ask your host to disable the `open_basedir` restrictions
   or add the required paths to the allowed `open_basedir` paths.
 * Warmly,
 * Beatrice.
 *  Thread Starter [Safety13](https://wordpress.org/support/users/safety13/)
 * (@safety13)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-167/#post-17082963)
 * According to the host that directive has already been added for your plugin. 
   Errors appear to be coming from a coming from a google crawler at 66.249.73.231
   based on the access logs. Any suggestions?
 *  [beatrice12](https://wordpress.org/support/users/beatrice12/)
 * (@beatrice12)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-167/#post-17092937)
 * Hi [@safety13](https://wordpress.org/support/users/safety13/),
 * Can you please send us a link so we can take a look?
 * Thank you,
 * Beatrice.
 *  Thread Starter [Safety13](https://wordpress.org/support/users/safety13/)
 * (@safety13)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-167/#post-17094350)
 * A link to what?

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

The topic ‘PHP Warnings’ is closed to new replies.

 * ![](https://ps.w.org/download-monitor/assets/icon-256x256.png?rev=3198936)
 * [Download Monitor](https://wordpress.org/plugins/download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-monitor/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Safety13](https://wordpress.org/support/users/safety13/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-167/#post-17094350)
 * Status: resolved