Remove open_basedir restriction for all sites in Plesk


/ Published in: Apache
Save to your folder(s)

If you want to remove all of the open_basedir restrictions for all sites in Plesk, simply create a file called /etc/httpd/conf.d/zzz_openbasedir_removal.conf and add this text within it (Be sure you trust your users.) :


Copy this code and paste it in your HTML
  1. <DirectoryMatch /var/www/vhosts/(.*)/httpdocs/>
  2. php_admin_value open_basedir none
  3. </DirectoryMatch>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.