安装PHPCMS的时候出现 Function set_magic_quotes_runtime() is deprecated  这句话    页面无法正常显示   并且无法显示验证码

解决方案 »

  1.   

    导致这个提示的原因是在PHP5.3后此特性(set_magic_quotes_runtime())已经关闭。
    而且在PHP6中已经完全移除此特性。
    你可以注释或者删除掉出错的行,或者是在set_magic_quotes_runtime()前面加@符号。
      

  2.   

    就是说这个函数你最好别用,被废弃了,下一主版本的php很可能会删除这个函数
      

  3.   

    This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.
    get_magic_quotes_gpc() - Gets the current configuration setting of magic quotes gpc 
    get_magic_quotes_runtime() - Gets the current active configuration setting of magic_quotes_runtime 
      

  4.   

    更多见http://www.php.net/manual/en/migration53.deprecated.php
      

  5.   

    新版本的PHP可能是這樣,不用這函數
      

  6.   

    find:
    set_magic_quotes_runtime(0);replace with:
    ini_set("magic_quotes_runtime", 0);enjoy!
      

  7.   

    Function set_magic_quotes_runtime() is deprecated in PHP 5.3.0