Does the open_basedir PHP function work on Hetzner servers?
Print Email
Email this article
Close
Email this article
CloseYou are here: Home > Website Support > PHP
Under older PHP versions, open_basedir could be exploited to grant access to files sharing the same user permissions (i.e nobody), but in different paths. This was an obvious security vulnerability. Since the implementation of suEXEC, combination with Fcgid, on Hetzner’s managed environment, only sites running under an account that can read your files can execute them.
Therefore, adding directories to the open_basedir directive will have no effect unless those files are hosted on the same domain. If required, a Multiple domain can be setup under a parent domain, simulating the open_basedir.
Was this information helpful?
Yes NoThank you for your feedback
We are delighted to find that our article resolved your query.
Thank you for your feedback
We will resolve your query as soon as possible.
Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.
