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?

asked Feb 6, 2018 at 21:16
2
  • yum --enablerepo=remi install php-intl Commented Feb 6, 2018 at 22:08
  • @andyjones - It didn't work because it installs php 5 instead of 7. 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

answered Feb 8, 2018 at 15:35

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.