安装了DedeCMS 5.7 SP1,访问后台的时候发现报出错误“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...”
解决办法3:
在 FTP 里,找到文件夹include,右键编辑“common.inc.php”找到if(version_compare(PHP_VERSION, '5.3.0', '>'))
{
if(strtoupper(ini_get('request_order')) == 'GP')
exit('DedeCMS Error: (PHP 5.3 and above) Please set \&;request_order\&; ini value to include C,G and P (recommended: \&;CGP\&;) in php.ini,
看到上面代码中的GP了吗?将 'GP’改成 'CGP’ 即可!