我已在亚马逊和mySQL RDS中启动了EC2实例。
我试图安装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 配置。“
答案 0 :(得分:1)
for amazon在命令之前添加:sudo
所以它看起来像这样:
sudo yum install php-mbstring