S
S
Sergey Pugovkin2017-03-27 11:45:37
PHP
Sergey Pugovkin, 2017-03-27 11:45:37

PHP Fatal error: Class 'NumberFormatter' not found - in php cli - why?

An error pops up in the php command line:
PHP Fatal error: Class 'NumberFormatter' not found
Although when opening the site, there is no error. Those. The error is in command line mode. Why? How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vit, 2017-03-27
@Driver86

Because the intl extension is not enabled in the cli config.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question