Does open_basedir works recursive?
For example if I write in php.ini something like:
open_basedir=/client3/web3/web
Does it include all directories in /client3/web3/web (/client3/web3/web/1, /client3/web3/web/2, )?
Asked
Active
Viewed 3,025 times
2
B14D3
- 5,308
- 16
- 69
- 85
2 Answers
2
The path supplied to the open_basedir setting is the root of a directory tree.
Limit the files that can be opened by PHP to the specified directory-tree, including the file itself.
So yes anything below will be accessible.
user9517
- 117,122