天天看点

DedeCMS Error: (PHP 5.3 and above) Please set request_order

部分使用PHP 5.3的主机可能会有下面的提示:

(PHP 5.3 and above) Please set 'request_order' ini value to include C,G and P (recommended: 'CGP') in php.ini

由于在PHP最新的版本中增加了一个配置项目“request_order”,默认值为“GP”,这个存在一定的安全风险。这里我们建议用户将配置更改为“CGP”

可以在phpinfo中查看对应的php.ini配置目录,找到下面选项:

<code>1</code>

<code>request_order = </code><code>"GP"</code>

更改为

<code>request_order = </code><code>"CGP"</code>

重启服务器后即可。

由于此选项会影响服务器的安全,请大家务必及时更改。如何联系我:【万里虎】www.bravetiger.cn

【QQ】3396726884 (咨询问题100元起,帮助解决问题500元起)

【博客】http://www.cnblogs.com/kenshinobiy/