1

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?

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

1 Answer 1

1

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

http://devdocs.magento.com/guides/v2.2/install-gde/prereq/php-centos.html

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 and acknowledge you have read our privacy policy.

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