I am getting the error Fatal error: Class 'IntlDateFormatter' not found in Magento2 after installation.


Just need to clear comment before this line in php.ini file:



  • In my /etc/opt/remi/php70/php.ini' not has ;extension=php_intl.dll. I install php7 in /opt/remi/php70`. Any suggestion? – xanka Feb 15 '17 at 4:43
  • recompiled again with an additional parameter (--enable-intl) – Mehdi Mar 19 '18 at 20:23

sudo apt-get install php7.0-intl did the trick for me on Ubuntu 18.04.

(That's with this PPA repo containing a backport of PHP sudo add-apt-repository ppa:ondrej/php.)


I had same issue but in my case intl was installed and loaded checking php -m. brew install icu4c resolved issue on my Mac. I'm using php 5.6.30 by the way.

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.