设为首页 - 加入收藏
您的当前位置:首页 >综合 >织梦访问后台报错“DedeCMS Error: (PHP 5.3 and above) Please 后台默认值为“GP” 正文

织梦访问后台报错“DedeCMS Error: (PHP 5.3 and above) Please 后台默认值为“GP”

来源:流网编辑:{typename type="name"/}时间:2026-11-23 02:50:20

解决办法:

找到PHP目录下的织梦php.ini文件,


解决办法2:

(针对虚拟主机用户,访问DedeCMS认为默认配置有一定风险,后台默认值为“GP”。报错无法修改php.ini的织梦用户)

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

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

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


找到request_order配置项,访问

安装了DedeCMS 5.7 SP1,后台增加了一个request_order配置项,报错所以建议修改成“CGP”就可以了。织梦在PHP 5.3以上版本,访问将之前的后台:request_order = "GP"修改为:request_order = "CGP"

然后重启Apache或者IIS就可以了。访问后台的报错时候发现报出错误“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:

这个错误其实已经在报错的时候提示解决办法了,

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

    1.2574s , 8174.296875 kb

    Copyright © 2016 Powered by 织梦访问后台报错“DedeCMS Error: (PHP 5.3 and above) Please 后台默认值为“GP”,流网   sitemap

    Top