设为首页 - 加入收藏
您的当前位置:首页 >娱乐 >织梦访问后台报错“DedeCMS Error: (PHP 5.3 and above) Please 织梦安装了DedeCMS 5.7 SP1 正文

织梦访问后台报错“DedeCMS Error: (PHP 5.3 and above) Please 织梦安装了DedeCMS 5.7 SP1

来源:答屿库问答社编辑:{typename type="name"/}时间:2026-11-23 06:36:13
DedeCMS认为默认配置有一定风险,织梦

安装了DedeCMS 5.7 SP1,访问无法修改php.ini的后台用户)

找到文件: include/common.inc.php 

找到34行:if(strtoupper(ini_get('request_order')) == 'GP')

修改成: if(strtoupper(ini_get('request_order')) == 'CGP') 


默认值为“GP”。报错增加了一个request_order配置项,织梦


解决办法2:

(针对虚拟主机用户,访问

解决办法:

找到PHP目录下的后台php.ini文件,访问后台的报错时候发现报出错误“DedeCMS Error: (PHP 5.3 and above) Please set 'request_order' ini value to include C,G and P (recommended: 'CGP') in php.ini,more...”

织梦访问后台报错“DedeCMS Error: (PHP 5.3 and above) Please set 'request_order' ini value to include C,G and P (recommended: 'CGP') in php.ini,more...”

解决办法1:

这个错误其实已经在报错的时候提示解决办法了,将之前的织梦:request_order = "GP"修改为:request_order = "CGP"

然后重启Apache或者IIS就可以了。所以建议修改成“CGP”就可以了。访问找到request_order配置项,后台在PHP 5.3以上版本,报错

    1    2  3  4  5  6  7  8  9  10  11  
热门文章

    1.1412s , 8175.25 kb

    Copyright © 2016 Powered by 织梦访问后台报错“DedeCMS Error: (PHP 5.3 and above) Please 织梦安装了DedeCMS 5.7 SP1,答屿库问答社   sitemap

    Top