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
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.
Informație despre instalarea acestei extensii PECL poate fi găsită în capitolul manualului, întitulat Instalarea extensiilor PECL. Informații adiționale, cum ar fi lansări noi, descărcări, fișiere-sursă, informații despre persoana care întreține extensia și istoria schimbărilor poate fi localizată aici: » https://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:
Otherwise, if PHP and ICU are installed to their default locations, then the additional options to `configure' are not needed.
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
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
For amazon nginx server (CentOs), try the following:
sudo yum install libicu-devel
sudo yum install php-intl
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.
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.