背景:解决magento2安装过程中缺少php扩展的问题:ext-intl和ext-xsl
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension.
Problem 2
- The requested PHP extension ext-xsl * is missing from your system. Install or enable PHP's xsl extension.
intl
# yum -y install libicu-devel
# cd soft/php-7.1.6/ext/intl
# phpize
# ./configure --enable-intl --with-php-config=/data/server/php7/bin/php-config
# make
# make install
xsl
# yum -y install libxslt libxslt-devel
# cd soft/php-7.1.6/ext/xsl
# phpize
# ./configure --with-xsl --with-php-config=/data/server/php7/bin/php-config
# make
# make install
php.ini
extension=xsl.so
extension=intl.so




