安装PHP 7后如何安装/启用intl和xsl扩展 [英] How to install/enable intl and xsl extensions after installing PHP 7

查看:720
本文介绍了安装PHP 7后如何安装/启用intl和xsl扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过此脚本安装了php7/apache2.4/mysql5.6,但事实证明缺少扩展名xslintl (需要他们运行Magento2).

I installed php7/apache2.4/mysql5.6 via this script, but it turns out that the extensions xsl and intl are missing (need them to run Magento2).

我正在使用Ubuntu 14.04.

I'm using Ubuntu 14.04.

推荐答案

如果仅出于开发目的,最简单的方法是使用ppa:ondrej/php-7.0然后是apt-get install php7.0-intlapt-get install php7.0-xsl之类的PPA. PPA不应从不用于生产.

If it is for dev purposes only, the easiest way would be use a PPA like ppa:ondrej/php-7.0 and then apt-get install php7.0-intl and apt-get install php7.0-xsl. PPAs should NEVER be used in production.

这篇关于安装PHP 7后如何安装/启用intl和xsl扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆