-1

Appserver vrs:2.60, and PHP 6, and now i installion Wordpress in my computer, but when i conccept address: localhost/wordpress/wp-admin/setup-config.php so it error:

Fatal error: Call to undefined function get_magic_quotes_gpc() in C:\AppServ\www\wordpress\wp-includes\load.php on line 585.

And In line 585:

if ( get_magic_quotes_gpc() ) {
    $_GET = stripslashes_deep( $_GET );
    $_POST = stripslashes_deep( $_POST );
    $_COOKIE = stripslashes_deep( $_COOKIE );

}

And i use Appserver 2.6.0, PHP 6, Wordpress 4.0.1, Mysql 6.0.4

4

1 回答 1

0

您能否检查一下您是否在php.ini中启用了 megic 引号

magic_quotes_gpc = no

另外,请确保您没有在.htaccess中将其关闭

php_flag magic_quotes_gpc Off
于 2014-12-12T07:57:36.840 回答