- Server operating system version
- Windows 2019/2014
- Plesk version and microupdate number
- 18.0.52
Hi,
I'm looking to find out the general consensus with regards to open_basedir configuation when WordPress has been installed.
From experience, the standard/quality of programming varies from one plugin developer to another. For the most part, these developers code their plugins in a Linux environment, they make some coding provisions for other environments when it comes to file paths but it's generally not great. The knowledge of the WordPress codex also varies greatly between developers and they don't always stick to the recommended way of coding paths within WP.
I've seen sooo many responses within WP plugin forums telling the users of their plugins to set open_basedir to none within the users PHP configs as a remedy for fixing their poorly coded plugins. There's no doubt that setting open_basedir to none does speed up and increase performance of WP in a Windows environment, uses less server resources through wasted processing and it will allow the dodgy coding within plugins to work.
I know having open_basedir configured properly isn't the "be all and end all of security measures" and there needs to be correct permissions set up in the first place to prevent problems but it does go some way to helping the most easiest ways of traversing directories that a subscription shouldn't have access to.
Most of our clients (web design agency) are using our own in house CMS and so this doesn't apply to them, but we have a few who just use us for hosting and they use WordPress (usually designed by an external agency) that they self manage but their installations run like pigs. All sites are created within separate subscriptions. Those that self manage are created separate customer accounts within Plesk and the applicable subscriptions are assigned to those customers.
So I guess my questions are:
Thank you!
I'm looking to find out the general consensus with regards to open_basedir configuation when WordPress has been installed.
From experience, the standard/quality of programming varies from one plugin developer to another. For the most part, these developers code their plugins in a Linux environment, they make some coding provisions for other environments when it comes to file paths but it's generally not great. The knowledge of the WordPress codex also varies greatly between developers and they don't always stick to the recommended way of coding paths within WP.
I've seen sooo many responses within WP plugin forums telling the users of their plugins to set open_basedir to none within the users PHP configs as a remedy for fixing their poorly coded plugins. There's no doubt that setting open_basedir to none does speed up and increase performance of WP in a Windows environment, uses less server resources through wasted processing and it will allow the dodgy coding within plugins to work.
I know having open_basedir configured properly isn't the "be all and end all of security measures" and there needs to be correct permissions set up in the first place to prevent problems but it does go some way to helping the most easiest ways of traversing directories that a subscription shouldn't have access to.
Most of our clients (web design agency) are using our own in house CMS and so this doesn't apply to them, but we have a few who just use us for hosting and they use WordPress (usually designed by an external agency) that they self manage but their installations run like pigs. All sites are created within separate subscriptions. Those that self manage are created separate customer accounts within Plesk and the applicable subscriptions are assigned to those customers.
So I guess my questions are:
- How many of you are in similar scenarios?
- How many will set open_basedir to none?
- How confident are you of the permissions that Plesk sets within a subscription that the process worker for one subscription cannot access files of another subscription?
- Has Plesk ever made an official comment that it's safe/ok to do so?
- What other precautions (if necessary) would you take to help make it secure?
Thank you!