Author Topic: PHP 7 & IntlDateFormatter  (Read 16193 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP 7 & IntlDateFormatter
« on: December 05, 2016, 05:37:58 PM »
Hello All,

Having a fight with this for the last few days.
Cannot get my magento 2 site to work.
I did recompile the latest version of php 7.
Just having the following issue.
[error] [client 192.168.146.1] PHP Fatal error:  Class 'IntlDateFormatter' not found in /home/<site>/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93

Have tried to recompile it with several different strings (seems for php 7 the intl has to be compiled on a different way).
Anyone can help me with this?

Offline
*****
Re: PHP 7 & IntlDateFormatter
« Reply #1 on: December 05, 2016, 09:13:48 PM »
check if php INTL is installed or not

Offline
*
Re: PHP 7 & IntlDateFormatter
« Reply #2 on: December 07, 2016, 07:11:20 PM »
check if php INTL is installed or not

php-intl.x86_64 is installed.
{edit}
same for:
intltool.noarch perl-libintl.x86_64
« Last Edit: December 07, 2016, 07:40:24 PM by Nagataka »

Offline
*****
Re: PHP 7 & IntlDateFormatter
« Reply #3 on: December 08, 2016, 04:37:05 PM »
check if php INTL is installed or not

php-intl.x86_64 is installed.
{edit}
same for:
intltool.noarch perl-libintl.x86_64
how did you installed php 7 ?