Plesk

Log files are increasing very fast and do not rotate: open_basedir restriction in effect

Symptoms

Cause

The log rotation is failing as a result of the file's rapid growth.
The PHP errors related to open_basedir restriction are rapidly increasing the log file as website application tries to access root path (' / ') but it's not allowed as open_basedir is set to {WEBSPACEROOT}{/}{:}{TMP}{/}.

Resolution

  1. Log into Plesk

  2. Navigate to Domains > example.com > PHP Settings and set the value of open_basedir to none

  3. Review the website application code so that the open_basedir directive can be safely enabled again