使用 magento2 Composer 安装 - php 扩展:ext-mcrypt * 和 ext-intl * 缺失
Installing with magento2 Composer - php extensions: ext-mcrypt * and ext-intl * missing
我尝试在 ubuntu 16.04 机器上安装 magento2。我已按照 these 步骤安装 magento。当安装作曲家然后显示这些问题
Problem 1
- The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
Problem 2
- The requested PHP extension ext-mcrypt * is missing from your system. Install or enable PHP's mcrypt extension.
如何解决这些问题?
在 shell
中尝试这些命令
sudo apt-get install php7.0-gd
sudo apt-get install php7.0-ext-mcrypt
然后重试安装作曲家
composer install
我尝试在 ubuntu 16.04 机器上安装 magento2。我已按照 these 步骤安装 magento。当安装作曲家然后显示这些问题
Problem 1
- The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
Problem 2
- The requested PHP extension ext-mcrypt * is missing from your system. Install or enable PHP's mcrypt extension.
如何解决这些问题?
在 shell
中尝试这些命令sudo apt-get install php7.0-gd
sudo apt-get install php7.0-ext-mcrypt
然后重试安装作曲家
composer install