Installation

This extension may be installed using the bundled version as of PHP 5.3.0, or as a PECL extension as of PHP 5.2.0. In other words, there are two methods to install the intl extension.

Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » http://pecl.php.net/package/intl.

Alternatively, --enable-intl will enable the bundled version while compiling PHP.

If your ICU is installed to a non-standard directory then you might want to specify its location in LD_LIBRARY_PATH environment variable so that dynamic linker can find it:

$ export LD_LIBRARY_PATH=/opt/icu/lib

Otherwise, if PHP and ICU are installed to their default locations, then the additional options to `configure' are not needed.

Коментарии

Ubuntu:
sudo apt-get install php5-intl
2013-05-17 08:03:46
http://php5.kiev.ua/manual/ru/intl.installation.html
On windows servers, open your php.ini (which should be in Program Files/PHP), and simply uncomment the extension.
extension=php_intl.dll
Restart IIS Webserver - done.
2014-04-29 17:41:51
http://php5.kiev.ua/manual/ru/intl.installation.html
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
2015-04-29 19:50:03
http://php5.kiev.ua/manual/ru/intl.installation.html
For ubuntu: apt install php-intl
2020-12-28 15:06:54
http://php5.kiev.ua/manual/ru/intl.installation.html
Автор:
For amazon nginx server (CentOs), try the following:

sudo yum install libicu-devel
sudo yum install php-intl
2022-07-21 14:23:22
http://php5.kiev.ua/manual/ru/intl.installation.html
On Windows, with Apache server, it might not be enough to uncomment the extension in the php.ini file. You also need to copy icu****.dll files (about five of them) from PHP folder to Apache /bin folder.
2022-11-12 12:51:53
http://php5.kiev.ua/manual/ru/intl.installation.html
Автор:
ArchLinux:

pacman -S icu php-intl
2023-01-06 14:52:00
http://php5.kiev.ua/manual/ru/intl.installation.html
Автор:
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
2023-03-21 22:07:05
http://php5.kiev.ua/manual/ru/intl.installation.html

    Поддержать сайт на родительском проекте КГБ