I’ve gone through all the questions here related to open_basedir and could not find the answer to this question:
What is the use of open_basedir and how to make use of it ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
open_basedirlimits all I/O operations in userspace PHP to a certain configurable subset of the filesystem, in particular to a number of directories and their subdirectories,Its objective is mainly to avoid accidental modifications to parts of the filesystem. It can also be used to mitigate the effect of vulnerable PHP scripts on the filesystems. However, I wouldn’t rely too on it from a security perspective – almost all versions of PHP come with
open_basedirbypass bugs fixed (the problem being it must be manually enforced in a number of places in PHP’s source code).