PHP教程

Magento2只支持php7.0+版本

M2版本php版本php扩展说明
2.47.3+ext-bcmath
ext-ctype
ext-curl
ext-dom
ext-gd
ext-hash
ext-iconv
ext-intl
ext-mbstring
ext-openssl
ext-pdo_mysql
ext-simplexml
ext-soap
ext-xsl
ext-zip
2.37.1/7.2ext-bcmath
ext-ctype
ext-curl
ext-dom
ext-gd
ext-hash
ext-iconv
ext-intl
ext-mbstring
ext-openssl
ext-pdo_mysql
ext-simplexml
ext-soap
ext-xsl
ext-zip
2.27.0/7.1lib-libxml
ext-ctype
ext-gd
ext-spl
ext-dom
ext-simplexml
ext-bcmath
ext-hash
ext-curl
ext-iconv
ext-intl
ext-xsl
ext-mbstring
ext-openssl
ext-zip
ext-pdo_mysql
ext-soap
php官方手册 https://www.php.net/manual/zh/