Skip to main content
  1. Posts/

Remove all open_basedir restrictions in Plesk

·47 words·1 min·

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:

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

Just a note, this isn’t a terribly great idea from a security standpoint. :-)