• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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