PHP7安装intl和xsl扩展

背景:解决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

版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/02/26/install-intl-and-xsl-extensions-for-php7/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
海报
PHP7安装intl和xsl扩展
背景:解决magento2安装过程中缺少php扩展的问题:ext-intl和ext-xsl Loading composer repositories with package information Installing dependencies (in……
<<上一篇
下一篇>>
文章目录
关闭
目 录