How to Fix 'open_basedir' Error? Practical Solution Steps Month Read Expired: 1 Minute Step 1:Step 2:How to Fix the 'open_basedir' Error in Plesk PanelIf you're encountering the 'open_basedir' error in Plesk Panel and receiving the following warning message: Severity: WarningMessage: is_dir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/yourdomain.net/:/tmp/)Filename: drivers/Session_files_driver.php You can follow these steps to resolve the issue:Step 1:Log in to Plesk Panel and navigate to the PHP settings for your domain.Step 2:Find the open_basedir option and paste the following code into the field:{WEBSPACEROOT}{/}{:}{TMP}{/}{:}/var/lib/php/sessionAfter saving the changes, the error should be resolved.If you need further assistance, feel free to open a support ticket! Did you find it useful? Thank you for your feedback. Sorry about that :( We'll work to make it better. You voted before. (35 times viewed / 0 people found it helpful)