Magento 2 PHP extensions missing

Before you install Magento 2, make sure your system meets or exceeds the following requirements:

Required PHP extensions:

  • PDO/MySQL
  • mbstring
  • mcrypt
  • mhash
  • simplexml
  • curl
  • gd2, ImageMagick 6.3.7 (or later) or both
  • soap

But for php 7.0 you must use next commands:

sudo apt-get update

sudo apt-get install php7.0-gd php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-openssl php7.0-zip php7.0-soap

sudo service apache2 restart

NOTE:

Use this for openSUSE:

zypper install php7-gd php7-mcrypt php7-curl php7-intl php7-xsl php7-mbstring php7-openssl php7-zip php7-soap

Try this to enable php-curl

sudo apt-get install php7.0-curl

Tags:

Php 7

Magento2