PHP / Codeigniter - magic_quotes_gpc错误 [英] PHP / Codeigniter - magic_quotes_gpc error
问题描述
我刚刚将我的服务器升级到PHP 5.3.19。
我使用CodeIgniter几个我的项目...现在每次我加载CI项目遇到以下错误
指令'magic_quotes_gpc'在PHP 5.3和更高版本中已弃用
我想知道是否有人可以帮我纠正这个错误。
/ p>
解决方案您的
中有一个
文件。magic_quotes_gpc
php.ini
PHP手册状态...
magic_quotes_gpc | 1| PHP_INI_PERDIR | PHP_INI_ALL in PHP <= 4.2.3。
在PHP 5.4.0中删除。
I have just had my server upgraded to PHP 5.3.19.
I am using CodeIgniter for a few of my projects ... now every time i load a CI project im getting the following error
Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater
Im wondering if anyone can help me out rectifying this error.
Cheers
解决方案You have a
magic_quotes_gpc
directive in yourphp.ini
file. It needs to be removed.The PHP manual states...
magic_quotes_gpc | "1" | PHP_INI_PERDIR | PHP_INI_ALL in PHP <= 4.2.3. Removed in PHP 5.4.0.
这篇关于PHP / Codeigniter - magic_quotes_gpc错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!