G
G
Greg Popov2016-05-11 17:42:12
PHP
Greg Popov, 2016-05-11 17:42:12

What is the error when connecting PHP intl extension?

I was working for myself, and suddenly Yii gives me

Message format 'date' is not supported. You have to install PHP intl extension to use this feature.

I hate everything that has to do with installing packages. I just don't understand what's what.
The first result of googling said: just uncomment the line in php.ini and change the path to php (I have XAMPP).
No sooner said than done:
PATH="/Applications/XAMPP/xamppfiles/bin:${PATH}"
;extension=php_intl.dll => extension=php_intl.dll
No result. What to do

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shirshov Alexander, 2016-05-11
@Keanor

I'm not good at windows, but it seems like in the directory with php.exe there should be an ext directory, in which php_intl.dll should actually be. If not, then you need to find and put it. If you didn't restart the web server after you uncommented the line, restart it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question