• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Removeing open_basedir Globally

N

necrogami

Guest
I either need to resetup or modify the global open_basedir since it is seriously messing with the style of programming for Zend Framework and MVC Style.

I need to had the ZF Framework Globally to the open_basedir and have the /var/www/vhosts/domain/ or /var/www/vhosts/domain/subdomains/sub/ to the openbasedir so that you can add the additional folders for MVC layout.
 
Stick this in:

/etc/httpd/conf.d/zzz_remove_openbasedir.conf

<DirectoryMatch /var/www/vhosts/(.*)/httpdocs>
php_admin_value open_basedir none
</DirectoryMatch>
<DirectoryMatch /var/www/vhosts/(.*)/subdomains/(.*)/httpdocs>
php_admin_value open_basedir none
</DirectoryMatch>
 
Thank you awpti! Your advice really helped me! I was experiencing this in piwik and you saved me! I have encountered this with other installations on GoDaddy VPS as well and was not able to resolve them. Thank you!
 
Why not just add the folder to your vhost.conf? Then you do not open a whole security breach, just for one folder!
 
Back
Top