仅供参考,站点跨权是PHP的事情,和kangle用户组这个无关
; 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 Safe Mode is turned On or Off.
; open_basedir = "${doc_root}:/tmp"
php.ini,去掉分号,即可实现跨权防御
open_basedir = "${doc_root}:/tmp"