PHP Errors
-
Keep getting these types of errors, 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.
What is the proper path to enter in the open_basedir to stop the messages from populating the server error log?
- The topic ‘PHP Errors’ is closed to new replies.