How to install PHP7 ext-intl?

php

#1

I have the same problem as described in Ext-intl and ext-redis required by composer

However I’m using PHP7 (circleci-php-7.0.3) and I was trying to do:

dependencies:
  pre:
    - sudo apt-get install php7.0-intl

However there is no such package. Also, there is no intl pecl extension for php7. How would I install it?


Cannot install php-intl on php7.2 image
#2

I guess the correct way to deal with this is to start building PHP with --enable-intl flag. So far I haven’t found a reasonable way to install the extension additionally.


#3

Has anything changed since April? Can’t get PHP7 and ext-intl to work together.


#4