• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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