码迷,mamicode.com
首页 > Web开发 > 详细

kangle 安全解决 PHP 跨站权限漏洞问题

时间:2018-01-15 11:06:11      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:turned   sed   eth   漏洞   roo   mode   cto   /tmp   rtu   

设置 php-templete.ini 文件,找到 open_basedir,把前面的分号去掉,如下所示即可解决此问题。
; 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"

kangle 安全解决 PHP 跨站权限漏洞问题

标签:turned   sed   eth   漏洞   roo   mode   cto   /tmp   rtu   

原文地址:http://blog.51cto.com/xiaogongju/2060954

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!