DedeCMS Error: (PHP 5.3 and above) Please set ‘request_order’ ini value to include C,G and P (recommended: ‘CGP’) in php.ini的解决办法

yibin 2016-06-01 DeDeCMS 558

安装dedecms 5.7时,访问网站首页出现错误,错误提示“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…”,提示的大致意思是指PHP 5.3以上版本,增加了一个request_order配置项,默认值为“GP”。但DedeCMS认为默认配置有一定风险,建议修改成“CGP”。

操作方法

找到并编辑服务器的php.ini文件(在php目录下),Ctrl+F搜索request_order,找到:

request_order = “GP”

修改为:

request_order = “CGP”

然后重启Apache或者IIS即可。

扫码添加微信

13013082126 扫描微信 建站咨询 优化咨询