Posted By

zachharkey on 04/21/09


Plesk openbasedir

Versions (?)

Remove open_basedir restriction for all sites in Plesk

 / Published in: Apache

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

  1. <DirectoryMatch /var/www/vhosts/(.*)/httpdocs/>
  2. php_admin_value open_basedir none
  3. </DirectoryMatch>

Report this snippet  

You need to login to post a comment.