我已经在 Amazon 中启动了一个 EC2 实例和一个 mySQL RDS。我正在尝试安装 phpMyAdmin 但没有成功。我已将 phpMyAdmin 的所有文件下载并解压缩到/var/www/html/phpMyAdmin
,将config.inc.php更改为:
$cfg['Servers'][$i]['host'] = '[myDB].[randomstring].us-east-1.rds.amazonaws.com';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = TRUE;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = '?????';
$cfg['Servers'][$i]['password'] = '??????';
当我尝试输入:phpMyAdmin 文件夹时,出现以下错误:
“缺少 mbstring 扩展名。请检查您的 PHP 配置。”