使用magento2 Composer安装 - php扩展:ext-mcrypt *和ext-intl *缺失
问题描述:
I have tried to install magento2 in ubuntu 16.04 machine. I have followed these steps for install magento. When install composer then show these problems
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.
How to solve these problem ?
我试图在ubuntu 16.04机器上安装magento2。 我已按照这些步骤安装magento。 当安装composer然后显示这些问题时 p>
问题1
- 系统中缺少所请求的PHP扩展名ext-gd *。 安装或启用PHP的gd扩展。
问题2
- 系统中缺少所请求的PHP扩展名ext-mcrypt *。 安装或启用PHP的mcrypt扩展。
code> pre>
如何解决这些问题? p>
div>
答
Try these command in your shell
sudo apt-get install php7.0-gd
sudo apt-get install php7.0-ext-mcrypt
then try again install composer
composer install