The OS version is CentOS 6.6. I have installed PHP 7.1.4 and all PHP extensions are installed except for intl.

I did the following commands:

yum list php*intl

And installed the one that was compatible with my PHP version

yum install php71-php-intl.x86_64

Despite that, intl doesn't appear when I do 'php -m' and I still get the error in composer :

magento/product-community-edition 2.2.2 requires ext-intl * ->

Is there a way to install the intl? I have restarted the apache server several times but no luck. What do you think i'm missing?

  • yum --enablerepo=remi install php-intl – andy jones Feb 6 '18 at 22:08
  • @andyjones - It didn't work because it installs php 5 instead of 7. – mokko211 Feb 8 '18 at 15:33

I resolved the issue by removing the PHP via yum remove php and re-install PHP by following the link here:


I used the commands for PHP 7 on CentOS. Had to downgrade php from 7.1.4 to 7.0.26. This is also fine as this version is compatible with Magento 2.2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.