标签归档:open_basedir

PHP 配置文件中open_basedir选项作用

open_basedir: 将用户可操作的文件限制在某目录下 如下是php.ini中的原文说明以及默认配置: ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory or ; per-virtualhost web server configuration file. This directive is ; *NOT* affected by whether … 阅读全文