Установка
Run:
$ make install
Then enable the extension by adding the following line to [PHP] section of your php.ini:
extension=intl.so
Run:
$ make install
Then enable the extension by adding the following line to [PHP] section of your php.ini:
extension=intl.so
Коментарии
Ubuntu:
sudo apt-get install php5-intl
To install on windows uncommenting the dll in php.ini is not enough you also need to include several other libraries in your system path (not user path). Found these details here: http://stackoverflow.com/a/6086991/819883
For ubuntu: apt install php-intl
For amazon nginx server (CentOs), try the following:
sudo yum install libicu-devel
sudo yum install php-intl
ArchLinux:
pacman -S icu php-intl
On XAMPP (Windows) open the php.ini by opening the control panel, selecting config on apache section and selecting PHP
Then add extension=php_intl and restart Apache