Apache 2.2 or 2.4
In addition, the apache mod_rewrite module must be enabled. mod_rewrite enables the server to perform URL rewriting. For more information, see our Apache documentation.
nginx 1.8 (or latest mainline version)
Database
MySQL 5.6 (Oracle or Percona)
PHP
5.6.x
5.5.x, where x is 22 or greater
7.0.2â7.0.6 except for 7.0.5 (supported by Magento version 2.0.1 and later only)
There is a known PHP issue that affects our code compiler when using PHP 7.0.5. We recommend you not use PHP 7.0.5; instead, use PHP 7.0.2â7.0.4 or 7.0.6.
PHP documentation: CentOS, Ubuntu