• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Subscription PHP settings (open_basedir) ignored

LeonardChallis

New Pleskian
I posted a while back (http://forum.parallels.com/showthre...scription&highlight=subscription+open_basedir) about settings not being saved - it turned out it was a problem with subdomains having their own PHP settings. But this time I am using the standard domain, which is synced to a subscription (not locked). When I change the open_basedir no effect is made - It will always use {DOCROOT}/:{TMP}/. I want to change it to use {WEBROOT} instead so I can use folders like application at the same level as httpdocs, but these settings are ignored.

Can anyone enlighten me?
 
First of all there is no such variable {WEBROOT}. If you want to use domain httpdocs folder as one of open_basedir paths then you need to use variable {DOCROOT}.
Also I see no problems in Plesk with this feature. Plesk correctly applies predefined options for open_basedir and custom ones. What Plesk version you got?
 
First of all there is no such variable {WEBROOT}. If you want to use domain httpdocs folder as one of open_basedir paths then you need to use variable {DOCROOT}.
Also I see no problems in Plesk with this feature. Plesk correctly applies predefined options for open_basedir and custom ones. What Plesk version you got?

If there is no such variable as {WEBROOT} then why is it in one of the default options? I don't want to use docroot, I want to use the one at a higher level. It is Plesk 11. It isn't working properly - I found that if I go to the domain and change that PHP setting to use WEBROOT in the open_basedir field then it remembers it, but I don't want to set it for one domain; I want to use the service plan PHP settings that it's supposedly synced to. When I save the PHP settings for the service plan it says it has synced to all the domains using it but it doesn't work because the domain level settings override them - how can I stop it dong this, and why would it do that anyway, what's the point of the service plan if its going to ignore the settings?
 
Last edited:
OK I found that if I resaved the domain settings to use Default for the open_basedir it started using the ones from the service plan again - and is now working :)
 
Back
Top