Remove all open_basedir restrictions in Plesk

 

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. :-)

Remove all open_basedir restrictions in Plesk

One thought on “Remove all open_basedir restrictions in Plesk

  • March 13, 2012 at 1:30 pm
    Permalink

    Pretty component to content. I simply stumbled
    upon your blog and in accession capital to assert that I get actually enjoyed account your weblog posts.
    Anyway I will be subscribing for your augment or even I achievement you get admission to persistently quickly.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Fork me on GitHub