WAMP Server 2.5数据库连接错误


WAMP Server 2.5 Database Connection Error - Wordpress

升级到最新的WAMP服务器到2.5 x64位后,我无法连接Wordpress配置文件wp-config.php,我谷歌它,知道在最新的WAMP服务器中,他们正在引入sqliPDO进行连接,我是新的sqli,请指导我使用它的正确语法连接,这是我以前使用的连接代码

wp-config.php

<?php
    session_start();
    define('DB_NAME', 'islamic');
    define('DB_USER', 'root');
    define('DB_PASSWORD', '');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    $table_prefix  = 'wp_';
    define('WP_DEBUG', false);
    if ( !defined('ABSPATH') )
        define('ABSPATH', dirname(__FILE__) . '/');
    require_once(ABSPATH . 'wp-settings.php');
?>

我在php_intl.dll和WAMPserver 3中遇到了同样的问题。它依赖于wamp/bin/apache/apache2.4.27/bin中的一个dll。安装脚本应该在apache/bin和/wamp/bin/php/php5.6.15/ext之间创建一个符号链接。我没有完全控制我的机器(它在Active Directory上),我不擅长sym链接,所以我只是复制了apache中的所有dll…/bin to php…/ext