How to install/enable intl and xsl extensions after installing PHP 7

Henry picture Henry · Dec 15, 2015 · Viewed 55.9k times · Source

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).

I'm using Ubuntu 14.04.

Answer

Maddy picture Maddy · Dec 15, 2015

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.